Red Hat Bugzilla – Bug 612178
guestfish: using -m option in conjunction with --listen option causes appliance to die
Last modified: 2010-07-07 12:01:56 EDT
I checked and this bug also happens in upstream libguestfs.
Therefore cloning for upstream product:
+++ This bug was initially created as a clone of Bug #609990 +++
Created an attachment (id=428358)
guestfish verbose output
Description of problem:
When -m option and --listen option is used at the same time, the appliance dies.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. prepare test.img that contains a file system in /dev/sda1
2. run the following command,
$ LIBGUESTFS_DEBUG=1 guestfish -a test.img -m /dev/sda1 --listen
when the command completes executing, the pid of the process is printed,
save it in $pid.
3. do the following,
$ guestfish --remote=$pid -- ping-daemon
then this is printed on the screen,
send_to_daemon: 0x15ff3e0 g->state = 3, n = 28
child_cleanup: 0x15ff3e0: child process died
closing guestfs handle 0x15ff3e0 (state 0)
--- Additional comment from email@example.com on 2010-07-01 07:35:27 EDT ---
Since this issue was entered in bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
--- Additional comment from firstname.lastname@example.org on 2010-07-01 07:43:07 EDT ---
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Patch posted upstream: