The shutdown and vfio changes are actually already good, but the ppc kvm 
wrapper needs more.
Not only rearrange as outlined above, but also ppc64_cpu accesses more down the 
road, so we need to add this and check for more:

[20760.368049] audit: type=1400 audit(1491488425.671:93): apparmor="DENIED" 
operation="open" profile="libvirt-88b15add-b290-431d-9e49-fa771588f2f5" 
name="/sys/devices/system/cpu/subcores_per_core" pid=50462 comm="ppc64_cpu" 
requested_mask="r" denied_mask="r" fsuid=64055 ouid=0
[20760.369318] audit: type=1400 audit(1491488425.675:94): apparmor="DENIED" 
operation="open" profile="libvirt-88b15add-b290-431d-9e49-fa771588f2f5" 
name="/sys/devices/system/cpu/cpu0/online" pid=50462 comm="ppc64_cpu" 
requested_mask="r" denied_mask="r" fsuid=64055 ouid=0

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

Title:
  libvirt-qemu apparmor profiles misses several important entries

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to