Due to the way libvirt handles logging, this error message could be many
things and is unfortunately quite generic. For people having this
problem, can you post your domain xml for the affected VM and any
apparmor denials from /var/log/kern.log?

As a workaround, people don't need to 'rip out apparmor', they can simply 
disable the apparmor profile for libvirtd (note that apparmor is protecting a 
lot of different things on a typical system, so it is best to disable just the 
profile that is having the problem). Eg:
$ sudo aa-disable /etc/apparmor.d/usr.sbin.libvirtd

Then stop and start libvirtd.

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

Title:
  error happen when using virsh to start a vm " internal error cannot
  generate AppArmor profile"

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

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

Reply via email to