I read about how it unlinks after creation, so I think in general have just a 
commented line like this in /etc/apparmor.d/abstractions/libvirt-qemu is ok:
  # Uncomment the following line to enable huge pages in your guests.
  # owner /dev/hugepages/libvirt/qemu/* rw,

It would be better if libvirt could do this dynamically like it does
with disks, etc (the SELinux driver may already do this). This should be
investigated.

** Changed in: libvirt (Ubuntu)
       Status: Incomplete => Triaged

** Changed in: libvirt (Ubuntu)
   Importance: Undecided => Low

** Changed in: libvirt (Ubuntu)
     Assignee: Jamie Strandboge (jdstrand) => (unassigned)

-- 
Apparmor deny when trying to use hugetlbfs
https://bugs.launchpad.net/bugs/646468
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to