[ovirt-devel] ovirt-imageio leaves .guestfs-0 folder under /var/tmp during check-patch

Nir Soffer nsoffer at redhat.com
Thu May 25 13:31:17 UTC 2017


On Thu, May 25, 2017 at 4:00 PM Barak Korren <bkorren at redhat.com> wrote:

> On 25 May 2017 at 15:42, Nir Soffer <nsoffer at redhat.com> wrote:
> >
> > In this case, I don't see how vdsm tests can pollute the host /var/tmp.
> >
> > Vdsm run 2 tests running virt-alignment-scan, one with --help, and one
> > with non existing images, so the temporary directory cannot be created
> > by these tests.
>
> As you see in $subject, we are looking for something that is invoking
> libgustfs, could vdsm or imageio be doing that?
>

ovirt-imagio does not invoke any external program.

Vdsm tests invoke virt-alignment-scan but not in a way that can leave
anything around:

LIBGUESTFS_BACKEND=direct virt-alignment-scan --help
LIBGUESTFS_BACKEND=direct virt-alignment-scan --add no-such-file

I don't know about other tests using libguestfs.

But how a program running inside mock chroot can access host's /var/tmp?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170525/46341e63/attachment.html>


More information about the Devel mailing list