sudo: allow systemd-logind to read cgroup state of sudo
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
This commit is contained in:
parent
871f0b0dd7
commit
8b31782480
|
@ -204,6 +204,8 @@ template(`sudo_role_template',`
|
|||
|
||||
ifdef(`init_systemd',`
|
||||
init_dbus_chat($1_sudo_t)
|
||||
|
||||
systemd_read_logind_state($1_sudo_t)
|
||||
')
|
||||
')
|
||||
|
||||
|
|
Loading…
Reference in New Issue