Comment 4 for bug 646468

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

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.