fix: minor profiles fixes.

This commit is contained in:
Alexandre Pujol 2023-09-10 12:41:47 +01:00
parent 4f10cf802e
commit b9fb4b72d2
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
6 changed files with 11 additions and 8 deletions

View file

@ -31,7 +31,7 @@ profile systemd-journald @{exec_path} {
@{run}/log/ rw,
/{run,var}/log/journal/ rw,
/{run,var}/log/journal/@{md5}/ rw,
/{run,var}/log/journal/@{md5}/* rw -> /{run,var}/log/journal/@{md5}/#@{int},
/{run,var}/log/journal/@{md5}/* rwl -> /{run,var}/log/journal/@{md5}/#@{int},
owner @{run}/systemd/journal/{,**} rw,
owner @{run}/systemd/notify rw,

View file

@ -119,7 +119,7 @@ profile systemd-udevd @{exec_path} flags=(attach_disconnected,complain) {
deny /apparmor/.null rw,
profile systemctl {
profile systemctl flags=(attach_disconnected,complain) {
include <abstractions/base>
include <abstractions/systemd-common>