Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#64853 - [libguestfs] guestfsd in the guest image is broken

Attached to Project: Community Packages
Opened by Ivan Shapovalov (intelfx) - Monday, 16 December 2019, 00:35 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 16 December 2019, 01:02 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Robin Broda (coderobe)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No



guestfsd inside of the guest image in community-testing/libguestfs cannot start due to a missing (presumably a soname mismatch), which renders libguestfs unusable.
Rebuilding libguestfs package locally via the community-testing PKGBUILD fixes the problem.

Additional info:
* community-testing/libguestfs 1.40.2-10
* full output of `LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 guestfish --remote` attached

Steps to reproduce:

eval $(LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 guestfish --listen 2>guestfish.log)
guestfish --remote -- disk-create /tmp/test.qcow2 qcow2 256M
guestfish --remote -- add /tmp/test.qcow2
guestfish --remote -- run
This task depends upon

Comment by Toolybird (Toolybird) - Monday, 16 December 2019, 02:01 GMT
This is actually a bug in supermin tickled by recent kernels.

A patch has been posted upstream. Full story here:
Comment by Robin Broda (coderobe) - Monday, 16 December 2019, 10:28 GMT
There are more issues than this. libguestfs is only available in testing and marked as known-bad. I'm waiting on upstream for this, anyways, and then need to figure out the spurious build failures...
Comment by Ivan Shapovalov (intelfx) - Monday, 16 December 2019, 16:52 GMT
Oh, okay, it's more complicated than I thought. Guess I just got lucky with my rebuild?
Comment by Toolybird (Toolybird) - Monday, 16 December 2019, 21:49 GMT
> spurious build failures

Interesting. Not seeing those here.

However my current setup is hacked together in a custom fashion:

(a) have moved on to the 1.41 dev versions
(b) opted to build my own "Fixed Appliance" (as opposed to the AUR method of downloading a pre-built fixed appliance from upstream)

Point (b) is supported by upstream but is not the recommended or optimal way to use libguestfs. I chose this method partly because supermin doesn't function properly in the presence of a custom repo in pacman.conf. See here:

Either way, would strongly encourage you to apply supermin symlink patch otherwise libguestfs is badly broken when using kernel >= 5.3.8