FWIW I ran into this error when I changed a KVM guest name from
"kvm-4.0" to "kvm-4.0 (new)" in the xml file and performed a virsh
define.  The naming convention is enforced in Virt Manager (no brackets
or special symbols).  There seems to be no checking on virsh define from
the cmd line.  There seems to be some dependency (at least with
apparmour) on name format.

I returned the name of the machine back to the original "kvm-4.0" and it
runs fine.  I then tried another name "kvm-4.0 test".  This failed.  I
think tried "kvm-4.0.1" this worked. I dont have time to try out more
variations on machine name but it may help this investigation.  (I did
not look for or change apparmour profiles, I did try removing and re-
adding disk images but this made no difference. I also created a new
machine via the Virt Manager UI and this made no difference.).

-- 
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