Bug#747939: systemd: prevents hibernation without password with open screen session in other login session

Martin Steigerwald Martin at lichtvoll.de
Thu May 15 08:35:13 BST 2014


Am Donnerstag, 15. Mai 2014, 02:30:20 schrieb Michael Biebl:
> Am 13.05.2014 22:13, 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
> 
> I've also forwarded this to
> http://lists.freedesktop.org/archives/systemd-devel/2014-May/019175.html

Thanks for forwarding.

I tried:

merkaba:/etc/polkit-1> cat ./localauthority/50-local.d/org.freedesktop.upower.pkla
[Suspend/hibernate permissions]
Identity=unix-group:sudo
Action=org.freedesktop.login1.hibernate-multiple-sessions
ResultAny=yes
ResultInactive=yes
ResultActive=yes

And this seems to work with two full KDE sessions open with one containing a
with an SSH session to some server.

-- 
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/20140515/8e9a92fc/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list