From 72a3c37636041b2d5c6db31e9284e8eb8e84f507 Mon Sep 17 00:00:00 2001 From: curiosityseeker <60518106+curiosityseeker@users.noreply.github.com> Date: Tue, 5 Sep 2023 18:34:23 +0200 Subject: [PATCH] Update lvm --- apparmor.d/profiles-g-l/lvm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apparmor.d/profiles-g-l/lvm b/apparmor.d/profiles-g-l/lvm index 58b4d5ba0..b6fdeced8 100644 --- a/apparmor.d/profiles-g-l/lvm +++ b/apparmor.d/profiles-g-l/lvm @@ -7,7 +7,7 @@ abi , include @{exec_path} = @{bin}/lvm -profile lvm @{exec_path} { +profile lvm @{exec_path} flags=(attach_disconnected) { include include include @@ -43,5 +43,7 @@ profile lvm @{exec_path} { /dev/**/ r, /dev/mapper/control rw, + deny /apparmor/.null rw, + include if exists }