Bug 2117203
| Summary: | RHEL-9.1: loop-overlay test failed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Karel Zak <kzak> |
| Component: | util-linux | Assignee: | Karel Zak <kzak> |
| Status: | CLOSED ERRATA | QA Contact: | Radka Brychtova <rskvaril> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | Keywords: | Triaged |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | util-linux-2.37.4-6.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 11:23:24 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: | |||
The upstream patches are unnecessary. It seems enough is to improve the test (add "udevadm settle" to wait for udevd). Fixed. 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 (util-linux 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-2022:8404 |
Upstream tests output: util-linux-2.37.4-5.el9: libmount: loop overlay ... diff-{{{ --- /dev/null 2022-08-10 04:17:46.680000000 -0400 +++ /var/str/source/tests/output/libmount/loop-overlay.err 2022-08-10 04:22:55.378604941 -0400 @@ -0,0 +1,4 @@ +mount: /var/str/source/tests/output/libmount/loop-overlay-mnt-1: overlapping loop device exists for /var/str/source/tests/output/libmount/loop-overlay.img. +mount: /var/str/source/tests/output/libmount/loop-overlay-mnt-2: overlapping loop device exists for /var/str/source/tests/output/libmount/loop-overlay.img. +umount: /var/str/source/tests/output/libmount/loop-overlay-mnt-1: not mounted. +umount: /var/str/source/tests/output/libmount/loop-overlay-mnt-2: not mounted. }}}-diff Note that there is no change in mount or loopdev code in 9.1. The previous build (util-linux-2.37.4-3.el9) has been successful. The difference is kernel (5.14.0-58.el9.x86_64, now 5.14.0-139.el9.x86_64). Three upstream patches may fix the issue (a race between loop autoclear and mount): 3e1fc3bbee99384cf43c2677cf77756a0ef002c0 mount: Fix race in loop device reuse code fb4b6b11544df405fb0f486b399938a8ee3f03e6 loopdev: Properly translate errors from ul_path_read_*() 562990b5520ec8331dab25d139af8cb15d37e5a1 loopdev: Do not treat errors when detecting overlap as fatal