mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
Merge Allow reading /run/systemd/sessions/
Several applications use it now that utmp and wtmp are being removed because they are not Y2038 compliant This is the case for example in openSUSE Tumbleweed and openSUSE MicroOS: https://microos.opensuse.org/blog/2023-11-06-utmp-and-wtmp-are-gone/ Closes https://gitlab.com/apparmor/apparmor/-/issues/360 Closes #360 Fixes: https://bugzilla.opensuse.org/show_bug.cgi?id=1216878 MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1121 Approved-by: Christian Boltz <apparmor@cboltz.de> Merged-by: Christian Boltz <apparmor@cboltz.de> (cherry picked from commit9bba464d93
)96b1aa54
Allow reading /run/systemd/sessions/
This commit is contained in:
parent
5491326425
commit
12eb505e77
1 changed files with 3 additions and 0 deletions
|
@ -18,5 +18,8 @@
|
|||
/var/log/btmp rwk,
|
||||
@{run}/utmp rwk,
|
||||
|
||||
# Some read the list of sessions from systemd
|
||||
/run/systemd/sessions/ r,
|
||||
|
||||
# Include additions to the abstraction
|
||||
include if exists <abstractions/wutmp.d>
|
||||
|
|
Loading…
Add table
Reference in a new issue