>
>
> > Package: polkit-kde-1
> > Version: 0.99.1-1
>
> > Please see bug #668890 [1] for a possible solution on the dirmngr side
> > of this issue.
>
> > I'm still wondering why an user who can well shutdown the entire box
> > should be prevented to hibernate. Furthermore, oddly enough, in my case
> > suspend doesn't need any further authentication, while hibernation does.
>
> Sorry, but I fail to see the relation between dirmngr and polkit-kde-1, why
> does the use of su vs start-stop-daemon affects the hibernation?
>
> Thanks,


According to the description in the
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668890 su spawns login
shell where the start-stop-daemon doesn't.

This login shell that su spawns violates polkit policy
org.freedesktop.login1.hibernate-multiple-sessions when trying to hibernate
and it can be seen with loginctl.

loginctl shows:
   SESSION        UID USER             SEAT
        c1        112 dirmngr
        c2       1000 durin            seat0

I don't know if su works differently when using systemd and not sysvinit
and makes this problem appear only when using systemd.

Thanks,

Sami

Reply via email to