Bug 668611
Summary: | guestfish -i is trying to mount all mounts from /etc/fstab and fails with an error when device doesn't exists | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.1 | CC: | dallan, mbooth, mgoldman, mshao, virt-maint, yuzhang |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.7.17-9.el6 | Doc Type: | Bug Fix |
Doc Text: |
When a device in /etc/fstab did not exist, the "guestfish -i" command failed with a "No such file or directory" error. In the event of missing devices, guestfish now completes, and reports that some file systems could not be mounted.
Note that this bug was reported and corrected during development. It was not seen in production systems in the field.
|
Story Points: | --- |
Clone Of: | 668574 | Environment: | |
Last Closed: | 2011-05-19 11:46:00 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: | |||
Bug Depends On: | 668574 | ||
Bug Blocks: |
Description
Richard W.M. Jones
2011-01-10 21:53:31 UTC
For a test case, see: https://bugzilla.redhat.com/show_bug.cgi?id=668574#c2 QA verified this bug with libguestfs-1.7.17-12.el6.x86_64 and guestfish-1.7.17-12.el6.x86_64: Using the image file from https://bugzilla.redhat.com/show_bug.cgi?id=668574#c2: # guestfish -a bogus.img -i --ro libguestfs: error: mount_ro: mount_ro_stub: /dev/sdb3: No such file or directory libguestfs: error: mount_ro: /dev/VG/LV1 on /nosuchfile: mount: mount point /sysroot/nosuchfile does not exist guestfish: some filesystems could not be mounted (ignored) Welcome to guestfish, the libguestfs filesystem interactive shell for editing virtual machine filesystems. Type: 'help' for help on commands 'man' to read the manual 'quit' to quit the shell Operating system: Fedora release 14 (Phony) /dev/VG/Root mounted on / /dev/vda1 mounted on /boot /dev/VG/LV1 mounted on /nosuchfile /dev/sdb3 mounted on /var ><fs> So change this bug to VERIFIED. 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: When a device in /etc/fstab did not exist, the "guestfish -i" command failed with a "No such file or directory" error. In the event of missing devices, guestfish now completes, and reports that some file systems could not be mounted. Note that this bug was reported and corrected during development. It was not seen in production systems in the field. This is fine, thanks. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0586.html An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0586.html |