Bug 1796120
Summary: | Supermin should check if the files exist, not just the directory. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Richard W.M. Jones <rjones> | |
Component: | supermin | Assignee: | Richard W.M. Jones <rjones> | |
Status: | CLOSED ERRATA | QA Contact: | YongkuiGuo <yoguo> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 8.2 | CC: | jsuchane, lsedlar, ptoscano, tzheng, virt-bugs, xchen, yoguo | |
Target Milestone: | rc | Keywords: | Triaged | |
Target Release: | 8.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | supermin-5.2.1-1.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | 1771976 | |||
: | 1813809 (view as bug list) | Environment: | ||
Last Closed: | 2021-05-25 06:41:21 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: | 1813809, 1906045 | |||
Bug Blocks: |
Description
Richard W.M. Jones
2020-01-29 16:19:59 UTC
Simple reproduce for this: (1) Run libguestfs-test-tool. This should run successfully. (2) rm /var/tmp/.guestfs-`id -u`/appliance.d/* (3) Run libguestfs-test-tool again. This time it should fail with an error similar to: qemu-img: /tmp/libguestfsY8hHID/overlay2.qcow2: Could not open '/var/tmp/.guestfs-1000/appliance.d/root': No such file or directory This was fixed upstream a while back. For reference the commits are: https://github.com/libguestfs/supermin/commit/cefda782dcd87acaa7e4382eae66d43f0137b867 https://github.com/libguestfs/supermin/commit/002e2a2ac7e744d1b23906593fdc7171b4aeb9ee https://github.com/libguestfs/supermin/commit/080ca3e457ec691a56dd698c8aaf0e077933e7ea Let's go for 8.4.0. Verified with packages: supermin-5.2.1-1.module+el8.4.0+9751+d56db353.x86_64 libguestfs-1.44.0-1.module+el8.4.0+9398+f376ac33.x86_64 Steps: 1. On rhel8.4 host $ libguestfs-test-tool ... ===== TEST FINISHED OK ===== 2. $ rm /var/tmp/.guestfs-1001/appliance.d/* 3. $ libguestfs-test-tool ... ===== TEST FINISHED OK ===== No error like this "Could not open '/var/tmp/.guestfs-1001/appliance.d/root': No such file or directory". 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 (virt:av bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:2098 |