On Fri, May 31, 2013 at 04:03:32PM +0800, Qiu Yu wrote: > Actually I'm looking into an issue with OpenStack / Libvirt manipulating > LVM as an image backend. When the logical volume is created, udev rules > will set the ownership to root:disk. After libvirt actually starting an > instance, device node ownership will change to qemu:qemu by libvirt. Then, > if you stop an instance, the device node ownership will change back to > root:root. Seems there's some inconsistency here.
This is actually a well-known bug in libvirt. https://bugzilla.redhat.com/show_bug.cgi?id=796072 (marked as a duplicate of a private bug 547546 for some reason -- I will try to get this made non-private) You can turn off libvirt's ownership management (set dynamic_ownership = 0 in /etc/libvirt/qemu.conf) however this will cause other problems. I don't think there is a proper solution to this yet. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top _______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
