[Libguestfs] Libguestfs debugging issue

Richard W.M. Jones rjones at redhat.com
Tue Nov 15 10:23:26 UTC 2016


On Tue, Nov 15, 2016 at 10:11:38AM +0000, Paul Braham wrote:
> libguestfs: command: run: /usr/bin/supermin5
> libguestfs: command: run: \ --build
> libguestfs: command: run: \ --verbose
> libguestfs: command: run: \ --if-newer
> libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
> libguestfs: command: run: \ --copy-kernel
> libguestfs: command: run: \ -f ext2
> libguestfs: command: run: \ --host-cpu x86_64
> libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
> libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d

> supermin5: ext2fs-c.c:584: ext2_copy_file: Assertion `n == 1 || dest[n-1]
> != '/'' failed.
> libguestfs: error: /usr/bin/supermin5 killed by signal 6 (Aborted), see
> debug messages above

This is an actual bug in supermin.  There are a couple of things you
can do:

(1) Try upgrading to a newer version of supermin.  RHEL 7.3 has
supermin 5.1.16, also available here:

https://people.redhat.com/~rjones/libguestfs-RHEL-7.3-preview/

If the bug is still present in the newer version, then:

(2) Run supermin with lots of debugging enabled:

  supermin5 -v -v -v -f ext2 /usr/lib64/guestfs/supermin.d -o /var/tmp/appliance

which should narrow down the problem to a particular file or installed
RPM.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list