[Touch-packages] [Bug 1990742] Re: screen not consistently locking when lid is closed

2022-12-12 Thread Launchpad Bug Tracker
[Expired for systemd (Ubuntu) because there has been no activity for 60
days.]

** Changed in: systemd (Ubuntu)
   Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990742

Title:
  screen not consistently locking when lid is closed

Status in systemd package in Ubuntu:
  Expired

Bug description:
  I have GNOME configured to lock the screen when the screen is blanked,
  and to blank the screen when the lid is closed:

  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
  org.gnome.desktop.screensaver lock-delay uint32 0
  org.gnome.desktop.screensaver lock-enabled true

  This worked fine in Jammy: whenever my screen was unlocked and I
  closed my laptop lid, it locked immediately, i.e., if I immediately
  reopened my lid, the screen was locked.

  After having just upgraded to Kinetic, however, sometimes when I close
  the lid it locks as described above, and sometimes it just... doesn't,
  i.e., when I open the lid again the screen is unlocked and I can just
  keep working.

  I have been unable to determine what the factors are which control
  whether the screen locks when I close the lid.

  There is a moderate security implication here, as it's problematic for
  someone's screen not to lock when they think that it did.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: gnome-shell 43.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 24 17:57:37 2022
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-08-16 (1135 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 43.0-1ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990742/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1990742] Re: screen not consistently locking when lid is closed

2022-10-13 Thread Nick Rosbrook
** Tags removed: foundations-triage-discuss

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990742

Title:
  screen not consistently locking when lid is closed

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  I have GNOME configured to lock the screen when the screen is blanked,
  and to blank the screen when the lid is closed:

  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
  org.gnome.desktop.screensaver lock-delay uint32 0
  org.gnome.desktop.screensaver lock-enabled true

  This worked fine in Jammy: whenever my screen was unlocked and I
  closed my laptop lid, it locked immediately, i.e., if I immediately
  reopened my lid, the screen was locked.

  After having just upgraded to Kinetic, however, sometimes when I close
  the lid it locks as described above, and sometimes it just... doesn't,
  i.e., when I open the lid again the screen is unlocked and I can just
  keep working.

  I have been unable to determine what the factors are which control
  whether the screen locks when I close the lid.

  There is a moderate security implication here, as it's problematic for
  someone's screen not to lock when they think that it did.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: gnome-shell 43.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 24 17:57:37 2022
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-08-16 (1135 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 43.0-1ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990742/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1990742] Re: screen not consistently locking when lid is closed

2022-10-12 Thread Daniel van Vugt
Bug 1857392 occurs on practically all machines every day so I recommend
ignoring that one specifically. In comment #13 I think I was just
pointing out there seems to be a common root cause if we can find out
why/where bug 1857392 occurs so often.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990742

Title:
  screen not consistently locking when lid is closed

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  I have GNOME configured to lock the screen when the screen is blanked,
  and to blank the screen when the lid is closed:

  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
  org.gnome.desktop.screensaver lock-delay uint32 0
  org.gnome.desktop.screensaver lock-enabled true

  This worked fine in Jammy: whenever my screen was unlocked and I
  closed my laptop lid, it locked immediately, i.e., if I immediately
  reopened my lid, the screen was locked.

  After having just upgraded to Kinetic, however, sometimes when I close
  the lid it locks as described above, and sometimes it just... doesn't,
  i.e., when I open the lid again the screen is unlocked and I can just
  keep working.

  I have been unable to determine what the factors are which control
  whether the screen locks when I close the lid.

  There is a moderate security implication here, as it's problematic for
  someone's screen not to lock when they think that it did.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: gnome-shell 43.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 24 17:57:37 2022
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-08-16 (1135 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 43.0-1ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990742/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1990742] Re: screen not consistently locking when lid is closed

2022-10-12 Thread Nick Rosbrook
When I configure my systemd to lock on lid switch, I do see this debug-
level message:

Oct 12 16:19:45 six systemd-logind[1173]: Inhibitor GNOME Shell (GNOME
needs to lock the screen) pid=2894 uid=1000 mode=delay started.

I am not sure exactly how GNOME handles locking the screen, but maybe
the bug that Daniel pointed out (bug 1857392) is preventing GNOME from
processing an Inhibitor DBus signal and locking the screen in a timely
manner.

** Changed in: systemd (Ubuntu)
   Status: New => Incomplete

** Changed in: systemd (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990742

Title:
  screen not consistently locking when lid is closed

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  I have GNOME configured to lock the screen when the screen is blanked,
  and to blank the screen when the lid is closed:

  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
  org.gnome.desktop.screensaver lock-delay uint32 0
  org.gnome.desktop.screensaver lock-enabled true

  This worked fine in Jammy: whenever my screen was unlocked and I
  closed my laptop lid, it locked immediately, i.e., if I immediately
  reopened my lid, the screen was locked.

  After having just upgraded to Kinetic, however, sometimes when I close
  the lid it locks as described above, and sometimes it just... doesn't,
  i.e., when I open the lid again the screen is unlocked and I can just
  keep working.

  I have been unable to determine what the factors are which control
  whether the screen locks when I close the lid.

  There is a moderate security implication here, as it's problematic for
  someone's screen not to lock when they think that it did.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: gnome-shell 43.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 24 17:57:37 2022
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-08-16 (1135 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 43.0-1ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990742/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1990742] Re: screen not consistently locking when lid is closed

2022-10-12 Thread Nick Rosbrook
My first guess is that there is an inhibitor lock for "handle-lid-
switch" in place which is blocking or delaying the screen lock.

Jonathan - Can you please enable debug level logging on systemd-
logind.service by doing the following?

$ systemctl edit systemd-logind.service

In the editor, add a section like this:

 [Service]
 Environment=SYSTEMD_LOG_LEVEL=debug

Then reboot, and next time you experience this issue share the log:

$ journalctl -b -u systemd-logind --no-pager > systemd-logind.log

It is probably also worth sharing your logind.conf:

$ systemd-analyze cat-config systemd/logind.conf > logind.conf

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990742

Title:
  screen not consistently locking when lid is closed

Status in systemd package in Ubuntu:
  New

Bug description:
  I have GNOME configured to lock the screen when the screen is blanked,
  and to blank the screen when the lid is closed:

  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
  org.gnome.desktop.screensaver lock-delay uint32 0
  org.gnome.desktop.screensaver lock-enabled true

  This worked fine in Jammy: whenever my screen was unlocked and I
  closed my laptop lid, it locked immediately, i.e., if I immediately
  reopened my lid, the screen was locked.

  After having just upgraded to Kinetic, however, sometimes when I close
  the lid it locks as described above, and sometimes it just... doesn't,
  i.e., when I open the lid again the screen is unlocked and I can just
  keep working.

  I have been unable to determine what the factors are which control
  whether the screen locks when I close the lid.

  There is a moderate security implication here, as it's problematic for
  someone's screen not to lock when they think that it did.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: gnome-shell 43.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 24 17:57:37 2022
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-08-16 (1135 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 43.0-1ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990742/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1990742] Re: screen not consistently locking when lid is closed

2022-10-04 Thread William Wilson
** Tags added: foundations-triage-discuss

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990742

Title:
  screen not consistently locking when lid is closed

Status in systemd package in Ubuntu:
  New

Bug description:
  I have GNOME configured to lock the screen when the screen is blanked,
  and to blank the screen when the lid is closed:

  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
  org.gnome.desktop.screensaver lock-delay uint32 0
  org.gnome.desktop.screensaver lock-enabled true

  This worked fine in Jammy: whenever my screen was unlocked and I
  closed my laptop lid, it locked immediately, i.e., if I immediately
  reopened my lid, the screen was locked.

  After having just upgraded to Kinetic, however, sometimes when I close
  the lid it locks as described above, and sometimes it just... doesn't,
  i.e., when I open the lid again the screen is unlocked and I can just
  keep working.

  I have been unable to determine what the factors are which control
  whether the screen locks when I close the lid.

  There is a moderate security implication here, as it's problematic for
  someone's screen not to lock when they think that it did.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: gnome-shell 43.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 24 17:57:37 2022
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-08-16 (1135 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 43.0-1ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990742/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1990742] Re: screen not consistently locking when lid is closed

2022-10-02 Thread Daniel van Vugt
Thanks for that. Indeed the log shows the lid being closed without any
locking near the end. That might be related to bug 1857392 which is
clearly occurring at the same time. It also highlights that systemd is
responsible for initiating the locking.

** Package changed: ubuntu => systemd (Ubuntu)

** Changed in: systemd (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1990742

Title:
  screen not consistently locking when lid is closed

Status in systemd package in Ubuntu:
  New

Bug description:
  I have GNOME configured to lock the screen when the screen is blanked,
  and to blank the screen when the lid is closed:

  org.gnome.settings-daemon.plugins.power lid-close-battery-action 'blank'
  org.gnome.desktop.screensaver lock-delay uint32 0
  org.gnome.desktop.screensaver lock-enabled true

  This worked fine in Jammy: whenever my screen was unlocked and I
  closed my laptop lid, it locked immediately, i.e., if I immediately
  reopened my lid, the screen was locked.

  After having just upgraded to Kinetic, however, sometimes when I close
  the lid it locks as described above, and sometimes it just... doesn't,
  i.e., when I open the lid again the screen is unlocked and I can just
  keep working.

  I have been unable to determine what the factors are which control
  whether the screen locks when I close the lid.

  There is a moderate security implication here, as it's problematic for
  someone's screen not to lock when they think that it did.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: gnome-shell 43.0-1ubuntu1
  ProcVersionSignature: Ubuntu 5.19.0-15.15-generic 5.19.0
  Uname: Linux 5.19.0-15-generic x86_64
  ApportVersion: 2.23.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 24 17:57:37 2022
  DisplayManager: gdm3
  InstallationDate: Installed on 2019-08-16 (1135 days ago)
  InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
  RelatedPackageVersions: mutter-common 43.0-1ubuntu1
  SourcePackage: gnome-shell
  UpgradeStatus: Upgraded to kinetic on 2022-09-24 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1990742/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp