Red Hat Bugzilla – Bug 578407
the prefix '-' in sub-command isn't handled by guestfish in remote control mode
Last modified: 2010-05-20 20:31:33 EDT
Description of problem:
In remote control mode of guestfish, the server will normally exit if there is an error in a command. guestfish man page said if we prefix a command with a - character, then that command will not cause guestfish to exit,
but this doesn't work in remote control mode, seems the prefixal '-' in sub-command won't be handled by guestfish.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. $ eval `guestfish --listen`
2. $ guestfish --remote version
3. $ guestfish --remote -- -lvs
-lvs: unknown command
4. $ guestfish --remote version
guestfish: remote: looks like the server is not running
'-' prefixed sub-commands is not recognized by guestfish, and this will cause the guestfish server exit in remote control mode.
sub-commands which prefixed with '-' character should be recognized by guestfish, and this should make guestfish ignore the errors of commands even in remote control mode.
This should be in the upstream (Virtualization Tools) product.
libguestfs-1.2.3-1.el5 has been submitted as an update for Fedora EPEL 5.
libguestfs-1.2.3-1.fc13 has been submitted as an update for Fedora 13.
libguestfs-1.2.3-1.fc12.6 has been submitted as an update for Fedora 12.
libguestfs-1.2.3-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.