AppArmor policy update for NVMeoF

When using NVMeoF feature with nova-compute apparmor in enforce
mode, nova-compute is denied from running /usr/sbin/nvme and
/usr/sbin/blkid, and reading /etc/nvme/hostnqn.

Change-Id: Ia23fbf341d5b7ad469337d8a0c65c18ec519a891
Closes-Bug: #2039161
This commit is contained in:
Felipe Reyes authored and Seyeong Kim committed 2024-01-05 02:23:31 +00:00
1 parent d90d6ee847
commit 0f9c730817
1 file changed
+3
+3
View File
@@ -164,4 +164,7 @@
/etc/magic r,
/sys/devices/virtual/dmi/** r,
/usr/sbin/dmidecode rix,
/usr/sbin/blkid rix,
/usr/sbin/nvme rix,
/etc/nvme/hostnqn r,
}