diff --git a/apparmor.d/profiles-s-z/zed b/apparmor.d/profiles-s-z/zed index a37053b9..8994f68d 100644 --- a/apparmor.d/profiles-s-z/zed +++ b/apparmor.d/profiles-s-z/zed @@ -22,9 +22,11 @@ profile zed @{exec_path} { /{usr/,}bin/expr rix, /{usr/,}bin/flock rix, /{usr/,}bin/grep rix, + /{usr/,}bin/hostname rix, /{usr/,}bin/ls rix, /{usr/,}bin/logger rix, /{usr/,}bin/mawk rix, + /{usr/,}bin/mktemp rix, /{usr/,}bin/rm rix, /{usr/,}bin/realpath rix, /{usr/,}bin/sort rix, @@ -39,6 +41,8 @@ profile zed @{exec_path} { @{run}/zed.state rwkl, @{run}/zfs-list.cache@* rw, + owner /tmp/tmp.* rw, + @{sys}/bus/pci/slots/ r, @{sys}/bus/pci/slots/[0-9]*/address r, diff --git a/apparmor.d/profiles-s-z/zpool b/apparmor.d/profiles-s-z/zpool index 845d4c1f..59a1e269 100644 --- a/apparmor.d/profiles-s-z/zpool +++ b/apparmor.d/profiles-s-z/zpool @@ -26,6 +26,8 @@ profile zpool @{exec_path} { @{run}/blkid/blkid.tab.old rwl, @{run}/blkid/blkid.tab-* rwl, + /tmp/tmp.* rw, + @{sys}/bus/pci/slots/ r, @{sys}/bus/pci/slots/[0-9]*/address r,