Red Hat Bugzilla – Bug 907162
Root Password required for Poweroff and Restart
Last modified: 2013-02-05 11:48:40 EST
Ocasionally, F18 asks for the Root/Sudo password when instructed to shutdown or restart, claiming that the operation could not be performed while other users are logged in.
This may also happen after the computer has been started and should be shut down without having done anything. Clearly, in that situation there is no other user logged in - or at least not from the user's perspective, who want's to shut down his computer.
Needless to mention, that if this is due to something like automatic updates being performed as root in the background, this is still a bug. The user of a desktop distribution must not be prevented from shutting down the PC. Least of all, left uninformed about the reason for the shutdown to fail.
Closely related, when the user chooses "cancel" when prompted for the Root password, he is prompted again. Choosing "cancel" a second time logs out the user but GDM never appears, the screen remains without any shell and the cursor as a spinner.
At that point, the user has to fall back to TTY.
Please change Severity to either High or Urgent.
Moved to Consolekit
This is probably caused by cron jobs which run in their own logind sessions.
systemd git will no longer considered cronjobs sessions capable of blocking shutdown.
> Please change Severity to either High or Urgent.
These Bugzilla fields are not used very often by Fedora developers.
Please try with systemd from updates-testing:
I'm assuming this the same as bug 890827.
*** This bug has been marked as a duplicate of bug 890827 ***