Description of problem:
In bug 912499 we found that certain readonly tools (like virt-df)
would cause live guests to crash. The reason is that these tools
would change the SELinux label on the guest's disk, and the guest
would suddenly lose access to its disk. This was fixed upstream.
However the fix is faulty. If LIBGUESTFS_HV is set (or the handle
hv is set in some other way) then the libvirt backend does not do
the label copying dance, and that can result in the above failure.
You can demonstrate this fairly easily:
(1) Choose the libvirt backend.
(2) Set LIBGUESTFS_HV to point to your qemu.
(3) Run the tests in the python subdirectory.
The regression test python/t/test820RHBZ912499.py will fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. See above.