Here is a script that can exactly reproduce the bug.

First, a traditional VM is created and started without problem. Then a
double copy-on-write vm is defined and (not) started.

When can see in the log :

Nov  3 10:48:36 wasabi kernel: [88903.924234] type=1503 
audit(1257241716.474:1888): operation="open" pid=12022 parent=12021 
profile="libvirt-9b026ac6-0e31-816c-580f-3af18fe5d375" requested_mask="::r" 
denied_mask="::r" fsuid=0 ouid=1000 name="/tmp/test-ro2.img"
Nov  3 10:49:06 wasabi kernel: [88934.163494] type=1505 
audit(1257241746.714:1889): operation="profile_remove" pid=12038 
name=libvirt-9b026ac6-0e31-816c-580f-3af18fe5d375 namespace=default


** Attachment added: "script + log"
   http://launchpadlibrarian.net/35015070/apparmor-test.tgz

-- 
virt-aa-helper fails to add copy-on-write images on apparmor profile
https://bugs.launchpad.net/bugs/470636
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