Bug 1000123
Summary: | 'sh' command before mount causes daemon to segfault | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | acathrow, bfan, leiwang, lkong, mbooth, wshi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.22.6-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1000121 | Environment: | |
Last Closed: | 2014-06-13 12:29:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1000121 | ||
Bug Blocks: |
Description
Richard W.M. Jones
2013-08-22 18:33:52 UTC
Reproduce: Version-Release number of selected component: libguestfs-1.22.5-3.el7 Steps: guestfish --ro -v -a /dev/null run : sh "foo" : ls / Result: guestfsd: error: do_command: you must call 'mount' first to mount the root filesystem *** Segmentation fault Register dump: libguestfs: error: sh: do_command: you must call 'mount' first to mount the root filesystem libguestfs: closing guestfs handle 0x7fac5c3dacf0 (state 2) .... /init: line 170: 115 Segmentation fault $vg guestfsd Rebooting. guestfsd segfault. Verified with libguestfs-1.22.6-15.el7 Step: #guestfish --ro -v -a /dev/null run : sh "foo" : ls / ....... udevadm settle libguestfs: recv_from_daemon: received GUESTFS_LAUNCH_FLAG libguestfs: [05328ms] appliance is up guestfsd: main_loop: new request, len 0x30 guestfsd: error: do_command: you must call 'mount' first to mount the root filesystem guestfsd: main_loop: prlibguestfs: error: sh: do_command: you must call 'mount' first to mount the root filesystem libguestfs: closing guestfs handle 0x7fa7e8b266b0 (state 2) oc 111 (sh) took 0.00 seconds guestfsd: main_loop: new request, len 0x28 fsync /dev/sda guestfsd: main_loop: proc 282 (internal_autosync) took 0.01 seconds libguestfs: command: run: rm libguestfs: command: run: \ -rf /tmp/libguestfsCA3EGv Also I can not find some words like 'segfault' in the output, so but is fixed. 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. |