** Description changed:

  [ Impact ]
-   * On Ubuntu 26.04 LTS, gnome-session 50.1 takes a strong logind inhibitor
-     while the session has a logout inhibitor. Since systemd v257, logind 
always
-     obeys block inhibitors, and rejects the request before asking polkit
-     including root. Any program that calls login 1 PowerOff/Reboot while
-     inhibitor is held will fail with
-     "org.freedesktop.login1.BlockedByInhibitorLock".
-   * This caused several CLI tools that needs to reboot without skipping the
-     inhibitor with RebootWithFlags unusable in the default terminal ptyxis. 
For
-     example, fwupdmgr can't reboot to perform firmware flashing when updating
-     firmware in ptyxis.
+   * On Ubuntu 26.04 LTS, gnome-session 50.1 takes a strong logind inhibitor
+     while the session has a logout inhibitor. Since systemd v257, logind 
always
+     obeys block inhibitors, and rejects the request before asking polkit
+     including root. Any program that calls login 1 PowerOff/Reboot while
+     inhibitor is held will fail with
+     "org.freedesktop.login1.BlockedByInhibitorLock".
+   * This caused several CLI tools that needs to reboot without skipping the
+     inhibitor with RebootWithFlags unusable in the default terminal ptyxis. 
For
+     example, fwupdmgr can't reboot to perform firmware flashing when updating
+     firmware in ptyxis.
  
  [ Test Plan ]
-   * On device with Ubuntu 26.04
-   * Open ptyxis ("Terminal" from the application menu)
-   * Open 2 tabs: run `vi` in 1, switch to another then run `systemctl reboot`
-   * Check if it can reboot without being inhibited
+   * On device with Ubuntu 26.04
+   * Open ptyxis ("Terminal" from the application menu)
+   * Open 2 tabs: run `vi` in 1, switch to another then run `systemctl reboot`
+   * Check if it can reboot without being inhibited
  
  [ Where problems could occur ]
-   * The patch affects all application opened in gnome-session that shutdown 
and
-     sleep inhibitor now yields to priviledged action and lock owner action.
-   * Commit is backported to 50.1 that uses `manager->priv->` instead of the
-     upstream where `manager->` is used in 51.0 release.
+   * The patch affects all application opened in gnome-session that shutdown 
and
+     sleep inhibitor now yields to priviledged action and lock owner action.
+   * Commit is backported to 50.1 that uses `manager->priv->` instead of the
+     upstream where `manager->` is used in 51.0 release.
  
  [ Other Info ]
-   * Upstream fix: 
https://gitlab.gnome.org/GNOME/gnome-session/-/commit/df8cf27b8638483730aaee4be55df461e482291c
-     * GitHub RO mirror of the fix in case Gitlab isn't accessible:
-       
https://github.com/GNOME/gnome-session/commit/df8cf27b8638483730aaee4be55df461e482291c
-     * This commit is included in the 51.0 release tag
+   * Upstream fix: 
https://gitlab.gnome.org/GNOME/gnome-session/-/commit/df8cf27b8638483730aaee4be55df461e482291c
+     * GitHub RO mirror of the fix in case Gitlab isn't accessible:
+       
https://github.com/GNOME/gnome-session/commit/df8cf27b8638483730aaee4be55df461e482291c
+     * This commit is included in the 51.0 release tag for gnome-session.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-session in Ubuntu.
https://bugs.launchpad.net/bugs/2173713

Title:
  [Draft][SRU] gnome-session: logout inhibitor is "block", so logind
  rejects reboot/poweroff

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/2173713/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to