[libvirt] questions on build qemu driver with non-root

Dan Kenigsberg danken at redhat.com
Sun Nov 29 07:15:28 UTC 2009

On Fri, Nov 27, 2009 at 12:33:49PM -0800, Shi Jin wrote:
> Hi there,
> I have been successful in building the latest libvirt code from the git repository. The options I used to build is
> ./autogen.sh  --prefix=/usr --sysconfdir=/etc --localstatedir=/var  --without-xen --with-qemu --with-qemu-user=oneadmin --with-qemu-group=oneadmin --without-uml --without-vbox --without-openvz --without-lxc
> Please note that I have specified qemu user and group to be non-root.
> So far the libvirtd service and virsh both seem to work fine but I have a few issues
> 1. Before running "virsh create", the image belongs to user oneadmin. During the run, it still does. But the as soon as I shutdown/destroy the instance, the image ownership changes to
> -rw-rw—— 1 root root 
> I don't understand why. Is this a bug?

Just the other day we agreed that it needs to be fixed

More information about the libvir-list mailing list