If you're going with option 2., you can simply add the following line to
/etc/apparmor.d/abstractions/libvirt-qemu file's end (after the HOME
stuff)

/path/to/images_dir/** rw,

Then you can place you images for every guest in that folder or
subfolders. Tested and working on Karmic.

Note that this is not as secure as option 1., but it is a quick fix if
you're say on a private machine where only you have access to guests and
you're doing a lot of guest creation/destroyingand you don't want to
edit the profile for every one of them by hand.

-- 
AppArmor security driver does not support backingstore
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