[Libguestfs] [PATCH] file: Better support for read-only files

Eric Blake eblake at redhat.com
Thu Mar 4 15:27:50 UTC 2021


On 3/2/21 12:25 PM, Eric Blake wrote:

> And for reference, I hit it while doing:
> 
> nbdkit file dir=path/to/nbdkit --run 'nbdinfo --list'
> 
> which failed to show anything at all (until my companion patch to libnbd
> earlier today, which I already pushed as it was not as challenging as
> this one), all because the nbdkit build process creates a readonly
> podwrapper.pl in that directory from the podwrapper.pl.in file.

I already pushed it as not challenging, yet it caused a regression in
the nbdkit testsuite: nbdinfo started having exit status 0 where it used
to have status 1 when encountering an error.  Ah, the joys of
integration testing.  Patch coming up soon.

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the Libguestfs mailing list