[Libguestfs] regression: file does not understand the -S option

2023-09-20 Thread Olaf Hering
Recently a commit was added to call 'file -zSb' instead of 'file -zb'.

This causes a regression on Leap 15 (but not on Tumbleweed), because
file 5.32 does not understand the -S option.

How can this be fixed properly, to handle both cases either at runtime
or at buildtime?


Thanks,
Olaf


pgpMhlA2iYpCT.pgp
Description: Digitale Signatur von OpenPGP
___
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs


Re: [Libguestfs] [EXTERNAL] - Re: LIBGUESTFS mount disk failure

2023-09-20 Thread Richard W.M. Jones
On Wed, Sep 20, 2023 at 09:53:19AM +, Divyanshu Kumar wrote:
> Hi @Richard W.M. Jones,
>
> I am attaching a sample program of how we are using guestfs apis
> where we are getting this error guestfs_mount_local fail.

It works fine, I see no errors when I run it.

This is the third and last time I'll repeat this.  If you ignore it
again then I won't reply to any more emails from you.  So I advise you
to read it very carefully:

  I need to see the program that you're trying to run, or a
  self-contained reproducer, and I also need to see the _complete_
  output from the program from start to finish, not just small parts
  of it.

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
___
Libguestfs mailing list
Libguestfs@redhat.com
https://listman.redhat.com/mailman/listinfo/libguestfs