-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-system-roles-1.120.5-0.1.el10
-
None
-
Low
-
1
-
rhel-system-roles
-
0
-
Dev ack
-
False
-
False
-
-
Yes
-
Red Hat Enterprise Linux
-
SysRoles Parking Lot
-
Requested
-
None
-
Bug Fix
-
-
Proposed
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Cause: The blivet module on EL7 will try to use a function that is undefined when checking
for mounts if there is a loop mount (/dev/loopX) on the system. The function is provided
by the libblockdev-loop package but that isn't always installed.
Consequence: The role will give an error like:
"The function 'bd_loop_get_backing_file' called, but not implemented"
Fix: Ensure that the libblockdev-loop package is installed if there are loop mounts
on the EL7 system.
Result: The role works on EL7 when there are loop mounts.
Added a test to create a loop mount.
Signed-off-by: Rich Megginson <rmeggins@redhat.com>
-
- Summary by Sourcery
Ensure EL7 systems with loop mounts have the required libblockdev-loop package installed to prevent blivet errors and add coverage for loop-mount scenarios in tests.
Bug Fixes:
- Install libblockdev-loop on EL7 systems with detected loop mounts to avoid blivet calling an undefined bd_loop_get_backing_file function.
Tests:
- Add an integration test that creates a loop-backed mount, runs the storage role, and then cleans up the loop device and mount.
- links to
-
RHEA-2025:155382
rhel-system-roles bug fix and enhancement update