diff --git a/profiles/apparmor.d/lsblk b/profiles/apparmor.d/lsblk index c9bbbf2e2..10d908ad6 100644 --- a/profiles/apparmor.d/lsblk +++ b/profiles/apparmor.d/lsblk @@ -18,6 +18,8 @@ profile lsblk /usr/bin/lsblk { include include + /usr/bin/lsblk mr, + @{sys}/block/ r, @{sys}/class/block/ r, @{sys}/dev/block/ r, @@ -29,6 +31,9 @@ profile lsblk /usr/bin/lsblk { # Needed for disks over network e.g. Hyper-V VMs (including Azure), IBM Power, ... @{sys}/devices/**/host@{int}/** r, + # Needed for channel subsystem for IBM Z + @{sys}/devices/css[0-9]/** r, + /dev/sr[0-9]* rk, @{run}/udev/data/** r,