[Bug 696318] Re: Starting VMs on qcow2 format with base images in level three fails

Serge Hallyn 696318 at bugs.launchpad.net
Tue Jan 4 00:40:29 UTC 2011


Looking at the libvirt source code, the chowning of the files to
root:root rather than your own credentials is not a bug, but a not-yet-
implemented feature (marked by the comment '/* XXX record previous
ownership */').

Nevertheless, I assume (hope) that level1.img and level2.img do not get
chowned to root:root when level3.img was used as the disk image.  So
long as that is the case, as a workingaround you should be able to
initially chown all three files to libvirt-qemu:qemu.  After each
session is closed libvirt will chown level3.img to root:root, but not
touch the other two.  On next startup, level1 and level2 are owned by
the right user, and level3 will get chowned.

Please reply and let us know if that is not the case.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.
https://bugs.launchpad.net/bugs/696318

Title:
  Starting VMs on qcow2 format with base images in level three fails



More information about the Ubuntu-server-bugs mailing list