2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 01:57:43 +00:00

Allow lsblk to access Xen PVH disk devices

For details, please see:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2111604
This commit is contained in:
Christian Kujau 2025-05-23 22:37:45 +00:00
parent 97dc70606b
commit 1e74ae32ea

View File

@ -27,6 +27,9 @@ profile lsblk /usr/bin/lsblk {
@{sys}/devices/virtual/** r,
@{sys}/devices/platform/** r,
# Needed for Xen PVH guests
@{sys}/devices/vbd-[0-9]*/block/** r,
# Needed for disks over network e.g. Hyper-V VMs (including Azure), IBM Power, ...
@{sys}/devices/**/host@{int}/** r,