after enabling audit.log I get this message when the profile is in
enforce mode

type=AVC msg=audit(1721533808.319:1238): apparmor="DENIED" operation="truncate" 
class="file" profile="libvirt-465a6629-3167-43fc-93da-4c7ef837d863" name="/" 
pid=37291 comm="qemu-system-x86" requested_mask="w" denied_mask="w" fsuid=64055 
ouid=64055^]FSUID="libvirt-qemu" OUID="libvirt-qemu"


therefore,adding

/ rw,

to the apparmor profile allows it to work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2073214

Title:
  hugepages causes permissions error [apparmor profile]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/2073214/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to