diff --git a/profiles/apparmor.d/lsblk b/profiles/apparmor.d/lsblk index 6d803c7fb..6041214be 100644 --- a/profiles/apparmor.d/lsblk +++ b/profiles/apparmor.d/lsblk @@ -26,12 +26,16 @@ profile lsblk /usr/bin/lsblk { @{sys}/devices/virtual/** r, @{sys}/devices/platform/** r, + # Needed for Hyper-V VMs (including Azure) + @{sys}/devices/LNXSYSTM:*/LNXSYBUS:*/** r, + /dev/sr[0-9]* rk, @{run}/udev/data/** r, @{run}/mount/** r, @{PROC}/swaps r, + @{PROC}/cmdline r, owner @{PROC}/@{pid}/mountinfo r, include if exists