[systemd-devel] Hybrid-sleep needs to be executed bu superuser

Philip Müller philm at manjaro.org
Mon Dec 17 12:42:54 PST 2012


I think *Mantas Mikule.nas* fixed it some minutes ago:/

http://lists.freedesktop.org/archives/systemd-devel/2012-December/007766.html
/
Am 17.12.2012 21:33, schrieb Christian Hesse:
> Federico Di Pierro <nierro92 at gmail.com> on Mon, 2012/12/17 21:19:
>> Hi!
>> I'm using systemd 196 on my archlinux, with linux 3.7.0 .
>> I found out that "systemctl hybrid-sleep" needs to be ran as root. While my
>> session is active (using systemd-logind feature), and in fact i can
>> hibernate/poweroff/suspend with my normal user. But hybrid-sleep still
>> requires superuser privileges.
>> Is there any reason?
>> Thanks for your time!
> I suppose this is just polkit missing the correct rules. Take a look
> at /usr/share/polkit-1/actions/org.freedesktop.login1.policy and add the
> block needed. I will take a look tomorrow if you did not success till then.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20121217/6d77bc40/attachment.html>


More information about the systemd-devel mailing list