On Wed, Oct 09, 2019 at 07:49:29PM -0400, Cole Robinson wrote:
In that bug, I see that rjones (cc'd) said that libvirt not
remembering labels/uid causes issues for libguestfs that requires
workarounds. Rich, do you have links to threads or bug reports where
this is described in more detail?
I think there are two problems (which I often confuse) and they are
possibly related. This one where libvirt doesn't restore permissions
afterwards, and the other one where qemu:///session cannot be used as
root which implies that when you run libguestfs as root it doesn't
have access to things that root would normally have access to (bug 890291
/ 1045069).
In answer to your question this is the only one I could find which is
definitely related to this bug:
https://www.redhat.com/archives/libguestfs/2013-May/msg00115.html
Here's another one, but I think this is related to the other bug:
https://bugs.launchpad.net/nova/+bug/1241659/comments/6
I suspect there are cases where openstack sets LIBGUESTFS_BACKEND=direct
to workaround one of these two bugs.
Is fixing the qemu:///session as root problem going to also solve this?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html