FS#34841 - [systemd] fails to execute reboot or shutdown
Attached to Project:
Arch Linux
Opened by Peter Weber (hoschi) - Thursday, 18 April 2013, 09:46 GMT
Last edited by Dave Reisner (falconindy) - Friday, 19 April 2013, 12:30 GMT
Opened by Peter Weber (hoschi) - Thursday, 18 April 2013, 09:46 GMT
Last edited by Dave Reisner (falconindy) - Friday, 19 April 2013, 12:30 GMT
|
Details
Hello!
Commands like "systemctl reboot" or "systemctl halt" fails to execute. Description: systemd-198 included a new feature: > Inhibitors are now honored and listed by "systemctl > suspend", "systemctl poweroff" (and similar) too, not only > GNOME. These commands will also list active sessions by > other users. The feature itself works. Sadly systemd doesn't clean up the files in the directory /run/systemd/sessions, after a user logged out from the session. This leads to the situation, that systemd believes a closed session stays in the condition of "closing" forever! Additional info: * package version(s): occurs since systemd-198, but foundation of the bug itself occurs at least since systemd-197 * an upstream patch is available: https://bugs.freedesktop.org/show_bug.cgi?id=62676 * users of tty, ssh or shell-scripts are affected * (currently) desktop-environments or Ctrl+Alt+Delete are not affected (use other code to execute command) Steps to reproduce: 1. user logs in 2. root logs in 3. root logs out 4. user executes "systemctl reboot" 5. reboot fails and complains about that root is still logged in I suggested to add the upstream patch to systemd. Rationale: -> patch comes from upstream and is accepted -> patch is small -> bug breaks major features Thanks! |
This task depends upon
Seems to be included in in systemd-202.