[Bug 470636] Re: virt-aa-helper fails to add copy-on-write images on apparmor profile

2009-11-05 Thread Olivier d.
Because this feature is officially supported, can the importance be
updated ?.

I think it should not be defined as a wishlist, actually it's a feature
that no longer works with 9.10.

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


[Bug 470636] Re: virt-aa-helper fails to add copy-on-write images on apparmor profile

2009-11-03 Thread Olivier d.
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


[Bug 470636] Re: virt-aa-helper fails to add copy-on-write images on apparmor profile

2009-11-02 Thread Jamie Strandboge
Thank you for using Ubuntu and taking the time to report a bug. For now,
you must add the readonly file to /etc/apparmor.d/libvirt/libvirt-uuid
(don't add it to the dynamically generated libvirt-uuid.files file).
After that you can shutdown the virtual machine and after that it will
work as expected.

I am going to mark this wishlist for now. While this is a bug, libvirt
does not support snapshotting by using cow files. This will be fixed
when the upstream sVirt plugin framework supports snapshotting via cow
files.

** Changed in: libvirt (Ubuntu)
   Importance: Undecided = Wishlist

** Changed in: libvirt (Ubuntu)
   Status: New = Confirmed

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


[Bug 470636] Re: virt-aa-helper fails to add copy-on-write images on apparmor profile

2009-11-02 Thread Jamie Strandboge
** Tags added: apparmor

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


[Bug 470636] Re: virt-aa-helper fails to add copy-on-write images on apparmor profile

2009-11-02 Thread Olivier d.
Ok, thanks for the workaround, it should work (I've added them in an
other files, and it works fine).

This command is not the snapshot feature (i.e: not the kvm snapshot
command) which I knew was not supported actually.

Based on http://libvirt.org/news.html, copy-on-write is supported since
0.6.0, am I wrong ?

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


[Bug 470636] Re: virt-aa-helper fails to add copy-on-write images on apparmor profile

2009-11-02 Thread Jamie Strandboge
True, snapshot is different than copy-on-write. Can you explain how you
are creating the cow files via libvirt and using/manipulating them from
within libvirt (including the xml for the VM from 'virsh dumpxml vm
name').

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