Bug#747939: systemd: prevents hibernation without password with open screen session in other login session
Martin Steigerwald
Martin at lichtvoll.de
Mon May 19 14:02:02 BST 2014
Am Dienstag, 13. Mai 2014, 22:13:09 schrieb Michael Biebl:
> The following assumes you run policykit 0.105
>
> Am 13.05.2014 09:57, schrieb Martin Steigerwald:
> > merkaba:/etc/polkit-1> cat
> > ./localauthority/50-local.d/org.freedesktop.upower.pkla
> > [Suspend/hibernate permissions]
> > Identity=unix-group:sudo
> > Action=org.freedesktop.upower.hibernate;org.freedesktop.upower.suspend
> > ResultAny=yes
> > ResultInactive=yes
> > ResultActive=yes
> >
> > does not have any effect on this.
>
> You are using the wrong Action here.
> See /usr/share/polkit-1/actions/org.freedesktop.login1.policy. What you
> are looking for is
> org.freedesktop.login1.hibernate-multiple-sessions
This also needs the according suspend action to be a full work-around:
merkaba:/etc/polkit-1/localauthority/50-local.d> cat
org.freedesktop.upower.pkla
[Suspend/hibernate permissions]
Identity=unix-group:sudo
Action=org.freedesktop.login1.hibernate-multiple-
sessions;org.freedesktop.login1.suspend-multiple-sessions
ResultAny=yes
ResultInactive=yes
ResultActive=yes
Before that on closing laptop lid it suspended, but I still got an
authorization dialog.
Just in case anyone else needs this work-around.
--
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140519/e1dbdaca/attachment-0002.sig>
More information about the Pkg-systemd-maintainers
mailing list