[Libguestfs] Fedora 29 guestfish not working

CHANU ROMAIN romain.chanu at univ-lyon1.fr
Wed Jan 23 08:06:54 UTC 2019


Hello,
I dont think so. You will find below my RPMs package:
 rpm -qa | grep rpm                       ✔rpm-plugin-selinux-
4.14.2.1-2.fc29.x86_64python3-rpm-4.14.2.1-2.fc29.x86_64rpm-build-libs-
4.14.2.1-2.fc29.x86_64rpm-ostree-libs-2018.10-1.fc29.x86_64rpm-
4.14.2.1-2.fc29.x86_64rpm-libs-4.14.2.1-2.fc29.x86_64drpm-0.3.0-
14.fc29.x86_64rpm-plugin-systemd-inhibit-4.14.2.1-2.fc29.x86_64python-
qt5-rpm-macros-5.11.3-1.fc29.noarchdeltarpm-3.6-28.fc29.x86_64rpm-
4.14.2.1-2.fc29.x86_64rpmfusion-free-release-29-1.noarchrpm-sign-libs-
4.14.2.1-2.fc29.x86_64
Dont hesitate to ask me more commamd's output or anything.
BR Romain

On Tue, 2019-01-22 at 19:31 +0000, Richard W.M. Jones wrote:
> On Tue, Jan 22, 2019 at 06:03:36PM +0000, CHANU ROMAIN wrote:
> > Hello,
> > I tried to install guestfish on my Fedora 29 and used the commands
> > fromdocumentation sudo dnf install libguestfs-tools but I got an
> > error whenI tried to execute run. You will find below logs below:
> >      ************************************************************  
> >    *                    IMPORTANT NOTICE     *     * When reporting
> > bugs, include the COMPLETE, UNEDITED     * output below in your bug
> > report.     *     *************************************************
> > ***********PATH=/usr/share/Modules/bin:/usr/local/bin:/usr/local/sb
> > in:/usr/bin:/usr/sbin:/home/romain/binXDG_RUNTIME_DIR=/run/user/100
> > 0SELinux: Disabledguestfs_get_append: (null)guestfs_get_autosync:
> > 1guestfs_get_backend: libvirtguestfs_get_backend_settings:
> > []guestfs_get_cachedir: /var/tmpguestfs_get_hv: /usr/bin/qemu-
> > kvmguestfs_get_memsize: 500guestfs_get_network: 0guestfs_get_path:
> > /usr/lib64/guestfsguestfs_get_pgroup: 0guestfs_get_program:
> > libguestfs-test-toolguestfs_get_recovery_proc: 1guestfs_get_smp:
> > 1guestfs_get_sockdir: /run/user/1000guestfs_get_tmpdir:
> > /tmpguestfs_get_trace: 0guestfs_get_verbose: 1host_cpu:
> > x86_64Launching appliance, timeout set to 600 seconds.libguestfs:
> > launch: program=libguestfs-test-toollibguestfs: launch:
> > version=1.39.11fedora=29,release=1.fc29,libvirtlibguestfs: launch:
> > backend registered: unixlibguestfs: launch: backend registered:
> > umllibguestfs: launch: backend registered: libvirtlibguestfs:
> > launch: backend registered: directlibguestfs: launch:
> > backend=libvirtlibguestfs: launch:
> > tmpdir=/tmp/libguestfsH1Xvb3libguestfs: launch:
> > umask=0022libguestfs: launch: euid=1000libguestfs: libvirt version
> > = 4007000 (4.7.0)libguestfs: guest random name = guestfs-
> > rakt1mfrsshbuiqslibguestfs: connect to libvirtlibguestfs: opening
> > libvirt handle: URI = qemu:///session, auth =default+wrapper, flags
> > = 0libguestfs: successfully opened libvirt handle: conn =
> > 0x55f938843730libguestfs: qemu version (reported by libvirt) =
> > 3000000 (3.0.0)libguestfs: get libvirt capabilitieslibguestfs:
> > parsing capabilities XMLlibguestfs: build appliancelibguestfs:
> > begin building supermin appliancelibguestfs: run
> > superminlibguestfs: command: run: /usr/bin/superminlibguestfs:
> > command: run: \ --buildlibguestfs: command: run: \ --
> > verboselibguestfs: command: run: \ --if-newerlibguestfs: command:
> > run: \ --lock /var/tmp/.guestfs-1000/locklibguestfs: command: run:
> > \ --copy-kernellibguestfs: command: run: \ -f ext2libguestfs:
> > command: run: \ --host-cpu x86_64libguestfs: command: run: \
> > /usr/lib64/guestfs/supermin.dlibguestfs: command: run: \ -o
> > /var/tmp/.guestfs-1000/appliance.dsupermin: version:
> > 5.1.19supermin: rpm: detected RPM version 4.14supermin: package
> > handler: fedora/rpmsupermin: acquiring lock on /var/tmp/.guestfs-
> > 1000/locksupermin: build: /usr/lib64/guestfs/supermin.dsupermin:
> > reading the supermin appliancesupermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/base.tar.gztype gzip base image
> > (tar)supermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/daemon.tar.gztype gzip base image
> > (tar)supermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/excludefilestype uncompressed
> > excludefilessupermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/hostfiles typeuncompressed
> > hostfilessupermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/init.tar.gztype gzip base image
> > (tar)supermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/packages typeuncompressed
> > packagessupermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/udev-rules.tar.gz type gzip base
> > image (tar)supermin: build: visiting
> > /usr/lib64/guestfs/supermin.d/zz-packages-xfs type uncompressed
> > packagessupermin: mapping package names to installed
> > packagessupermin: resolving full list of package
> > dependenciessupermin: exception: Librpm.Multiple_matches(2)
> 
> Ouch, yes, that's a new bug we've not seen before ...
> It's caused by librpm returning an unexpected value, butI'm not sure
> why:
> https://github.com/libguestfs/supermin/blob/1ed4bdd4d782d8f94b197283866cf24f86f7869b/src/librpm-c.c#L298
> 
> I'll have to have a look at the documentation for librpm.  Do you
> havemultiple installed RPMs with the same name?
> Rich.
> > libguestfs: error: /usr/bin/supermin exited with error status 1,
> > seedebug messages abovelibguestfs: clear_socket_create_context:
> > setsockcreatecon failed: NULL:Invalid argument [you can ignore this
> > message if you are not usingSELinux + sVirt]libguestfs: closing
> > guestfs handle 0x55f938840880 (state 0)libguestfs: command: run:
> > rmlibguestfs: command: run: \ -rf /tmp/libguestfsH1Xvb3
> > 
> > What can I do? 
> > Best regards,
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190123/e504e85a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4843 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20190123/e504e85a/attachment.bin>


More information about the Libguestfs mailing list