On Thu, May 25, 2017 at 4:00 PM Barak Korren <bkorren@redhat.com> wrote:
On 25 May 2017 at 15:42, Nir Soffer <nsoffer@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?