Bug 789960
Summary: | guestfsd crash when try to mount non-exist disk | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Qixiang Wan <qwan> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.2 | CC: | leiwang, moli, qguan, yuzhou |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.16.5-1.el6 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
The libguestfs daemon would crash when asked to mount a non-existent disk.
Consequence:
Programs that accidentally tried to mount a non-existent disk would get an unexpected error from libguestfs, and all further operations on the handle would fail.
Fix:
This crash has been fixed.
Result:
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 07:00:31 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Qixiang Wan
2012-02-13 11:07:42 UTC
Confirmed on 1.17.5. A simple reproducer is: guestfish -a /dev/null -v run : mount /dev/vdb / Upstream fixes: https://github.com/libguestfs/libguestfs/commit/07081591cf9928454148db84828da8a7f39b6c6f https://github.com/libguestfs/libguestfs/commit/cd06ddf4422a31528f4a268dad813938947e1a0d The fix is included in upstream stable branch version 1.16.5, and in RHEL 6.3 build (same version). Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: The libguestfs daemon would crash when asked to mount a non-existent disk. Consequence: Programs that accidentally tried to mount a non-existent disk would get an unexpected error from libguestfs, and all further operations on the handle would fail. Fix: This crash has been fixed. Result: Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-0774.html |