chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:59 +0000 (10:12 +0200)
commitbbb0fd179b5c0ef1155e349738dcd5708b3fce7c
treed9dd58ee27498b52cbe47e6d691e0f6cf33a7b7b
parent655e76df75ce4e5e0916388f23276fc88a607314
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