diff --git a/apparmor.d/groups/systemd/systemd-logind b/apparmor.d/groups/systemd/systemd-logind index e061471f9..3eac71186 100644 --- a/apparmor.d/groups/systemd/systemd-logind +++ b/apparmor.d/groups/systemd/systemd-logind @@ -66,7 +66,8 @@ profile systemd-logind @{exec_path} flags=(attach_disconnected,complain) { @{run}/systemd/seats/.#seat* rw, @{run}/systemd/seats/seat[0-9]* rw, @{run}/systemd/sessions/ rw, - @{run}/systemd/sessions/* rw, + @{run}/systemd/sessions/* r, + @{run}/systemd/sessions/.#* rw, @{run}/systemd/sessions/*.ref rw, @{run}/systemd/userdb/ r, @{run}/systemd/userdb/io.systemd.DynamicUser rw,