sudo: allow systemd-logind to read cgroup state of sudo

Signed-off-by: Kenton Groombridge <concord@gentoo.org>
This commit is contained in:
Kenton Groombridge 2024-05-15 11:12:35 -04:00
parent 871f0b0dd7
commit 8b31782480
1 changed files with 2 additions and 0 deletions

View File

@ -204,6 +204,8 @@ template(`sudo_role_template',`
ifdef(`init_systemd',` ifdef(`init_systemd',`
init_dbus_chat($1_sudo_t) init_dbus_chat($1_sudo_t)
systemd_read_logind_state($1_sudo_t)
') ')
') ')