From 0ec39dfe989ee6e5ddd519b522a3f7f5edff71bd Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sat, 14 Jan 2023 13:20:16 +0000 Subject: [PATCH] fix(profile): journald: be less strict on file format. Fix #98. --- apparmor.d/groups/systemd/systemd-journald | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apparmor.d/groups/systemd/systemd-journald b/apparmor.d/groups/systemd/systemd-journald index 71d8cb14..01864dc8 100644 --- a/apparmor.d/groups/systemd/systemd-journald +++ b/apparmor.d/groups/systemd/systemd-journald @@ -30,11 +30,7 @@ profile systemd-journald @{exec_path} { @{run}/log/ rw, /{run,var}/log/journal/ rw, - /{run,var}/log/journal/@{hex}/ rw, - /{run,var}/log/journal/@{hex}/user-@{hex}.journal* rw, - /{run,var}/log/journal/@{hex}/system.journal* rw, - /{run,var}/log/journal/@{hex}/system@@{hex}.journal* rw, - /{run,var}/log/journal/@{hex}/fss rw, + /{run,var}/log/journal/@{hex}/{,*} rw, owner @{run}/systemd/journal/{,**} rw, owner @{run}/systemd/notify rw,