login: Fix policy for org.freedesktop.login1.set-self-linger (#3365) (#3373)
authorMichael Biebl <mbiebl@gmail.com>
Sat, 28 May 2016 09:03:03 +0000 (11:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 28 May 2016 09:03:03 +0000 (11:03 +0200)
commitac3608cdbc28a14acd4c087ca6cd80d396f15eec
tree40536e71a9bd2d56d8a12ccdb7eded71134d19d7
parentda4d897e75e574911cb73ac91fdeef7d4fce8fbe
login: Fix policy for org.freedesktop.login1.set-self-linger (#3365) (#3373)

We need to explicitly define authorizations for allow_inactive and
allow_active. Otherwise one is getting "Access denied" when run from a
local console:

$ loginctl enable-linger
Could not enable linger: Access denied
src/login/org.freedesktop.login1.policy.in