On Mon, 13 Mar 2017 14:47:43 +0000
"Richard W.M. Jones" <rjones(a)redhat.com> wrote:
In the case where we are going to read the disk directly from the
OVA
file (partial = true), we will create a qcow2 image backed by the OVA.
If running as root, libvirt will run qemu as a non-root user (because
of no qemu:///session support for root, which is a libvirt bug). qemu
will not be able to read the backing file and thus will fail.
I was under the impression that libvirt chmods/chowns all disks so they
are accessible by QEMU. Is this a bug in libvirt because the owner is
only changed for the overlay but not for all the backing files?
Or is libvirt just being sloppy in the job and it only changes the owner
of the file but does not check the path if there is any permission
problem along the way on some directory? (Although I'm not sure what
would be a proper response from libvirt in this case.)
Tomas
--
Tomáš Golembiovský <tgolembi(a)redhat.com>