From 99c311e699000299290a81b503202b52e1c02de3 Mon Sep 17 00:00:00 2001 From: Jeroen Rijken Date: Thu, 7 Jul 2022 14:48:32 +0200 Subject: [PATCH] Executable updates for zpool --- apparmor.d/profiles-s-z/zpool | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apparmor.d/profiles-s-z/zpool b/apparmor.d/profiles-s-z/zpool index 67b73d7e..b4d23646 100644 --- a/apparmor.d/profiles-s-z/zpool +++ b/apparmor.d/profiles-s-z/zpool @@ -10,12 +10,15 @@ profile zpool @{exec_path} flags=(complain) { capability sys_admin, @{exec_path} r, + /{usr/,}{local/,}lib/zfs-linux/zpool.d/* rix, + /{usr/,}{local/,}bin/{ba,da,k,z,}sh rix, /dev/zfs rw, @{PROC}/@{pids}/mounts r, /dev/pts/[0-9]* rw, /etc/hostid r, + @{PROC}/sys/kernel/spl/hostid r, include if exists }