Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionRichard W.M. Jones
2013-08-19 12:32:49 UTC
+++ This bug was initially created as a clone of Bug #998482 +++
Reported by: Kazuya Saito
Note for some reason that I cannot work out, this is only reproducible
in the libguestfs source directory.
(a) Checkout libguestfs from git and compile it in the usual way.
(b) make -C tests/guests check
(c) In one window, run:
./run ./fish/guestfish --listen --ro -a ./tests/guests/debian.img -i
This will print out (the number will be different):
GUESTFISH_PID=13170; export GUESTFISH_PID
(d) In another window, run:
GUESTFISH_PID=13170 ./run ./fish/guestfish --remote exit
In the first window you'll see an error:
libguestfs: error: waitpid (qemu): No child processes
That is a bug.
Comment 1Richard W.M. Jones
2013-08-19 12:59:23 UTC
I installed libguestfs-1.22.2-1.el7, and ran `LIBGUESTFS_BACKEND=direct guestfish --listen --ro -a RHEL-Server-7.0-64-hvm.raw -i -v` in one terminal. Then opened a new terminal window and run `GUESTFISH_PID=8403 guestfish --remote exit`. And I saw error outputs from the first terminal:
# guestfish(8403): exit
libguestfs: closing guestfs handle 0x7fe56a024180 (state 2)
guestfsd: main_loop: proc 73 (mount_ro) took 0.10 seconds
guestfsd: main_loop: new request, len 0x28
umount /sysroot/boot
umount /sysroot
fsync /dev/sda
libguestfs: sending SIGTERM to process 8385
libguestfs: error: waitpid (qemu): No child processes
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsOIXqJe
And in a newer version, libguestfs-1.22.6-15.el7, no error message outputs.
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.