[systemd-devel] [ANNOUNCE] systemd v230

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Fri May 27 00:03:24 UTC 2016


On Fri, May 27, 2016 at 01:52:41AM +0200, Michael Biebl wrote:
> 2016-05-27 1:50 GMT+02:00 Michael Biebl <mbiebl at gmail.com>:
> >>           After the user logs out of all sessions, user at .service will be
> >>           terminated too, by default, unless the user has "lingering" enabled.
> >>           To effectively allow users to run long-term tasks even if they are
> >>           logged out, lingering must be enabled for them. See loginctl(1) for
> >>           details. The default polkit policy was modified to allow users to
> >>           set lingering for themselves without authentication.
> >
> > Hm, I'm having v230 here, but when I run
> > loginctl enable-linger <my_user_name>
> > a polkit prompt pops up asking me for admin privileges.
Yeah, I think that's expected.

> Oh, and if I simply run
> $ loginctl enable-linger
> Could not enable linger: Access denied
Works here ;)

Did you check that the polkit file got installed properly?
Check that you have <action id="org.freedesktop.login1.set-self-linger">.

Zbyszek


More information about the systemd-devel mailing list