It is hard to see this as a ptyxis bug. Any application can rightfully
request a session inhibitor.

As far as I can see, the kernel will force a shutdown if /sbin/poweroff
(systemctl poweroff) fails:
https://github.com/torvalds/linux/blob/f47d223627f80cb7a1eb14c585fe6cb35de5e984/kernel/reboot.c#L893

There's also sysctl kernel/poweroff_cmd which could be configured to
/usr/bin/systemctl poweroff -i

** Also affects: gnome-session (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ptyxis (Ubuntu)
       Status: New => Invalid

** Changed in: gnome-session (Ubuntu)
       Status: New => Opinion

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

Title:
  Ptyxis creates systemd inhibitor blocks system emergency shutdown

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


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

Reply via email to