Bug 2469064
| Summary: | Fix NFS and CIFS mount syntax handling | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bryn M. Reeves <bmr> |
| Component: | boom-boot | Assignee: | Bryn M. Reeves <bmr> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | bgurney, bmr, mcsontos |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | boom-boot-1.6.8-5.fc44 boom-boot-1.6.8-3.fc43 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-05-12 00:49:22 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: | |||
FEDORA-2026-e3fda87860 (boom-boot-1.6.8-5.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-e3fda87860 FEDORA-2026-1dab590a11 (boom-boot-1.6.8-3.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-1dab590a11 FEDORA-2026-e3fda87860 (boom-boot-1.6.8-5.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-1dab590a11 (boom-boot-1.6.8-3.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. |
What were you trying to do that didn't work? Create a boot entry including mount specs that include an NFS (server:/path), or CIFS (//server/path), either manually, or via snapm. What is the impact of this issue to you? The boom / snapm command fails with a Python error: # snapm snapset create -br testset boom.mounts.BoomMountError: Invalid mount device: nas0\x3a/data/stripe adding --debug reveals the error is in _parse_mount_unit(): [root@localhost snapm]# snapm -vv --debug=all snapset create -br testset / /var Traceback (most recent call last): File "/root/src/git/snapm/bin/snapm", line 7, in <module> r = main(sys.argv) File "/root/src/git/snapm/snapm/command.py", line 3490, in main status = cmd_args.func(cmd_args) File "/root/src/git/snapm/snapm/command.py", line 1552, in _create_cmd snapset = create_snapset( File "/root/src/git/snapm/snapm/command.py", line 825, in create_snapset return manager.create_snapshot_set( File "/root/src/git/snapm/snapm/manager/_signals.py", line 46, in wrapper ret = func(*args, **kwargs) File "/root/src/git/snapm/snapm/manager/_manager.py", line 521, in wrapper ret = func(*args, **kwargs) File "/root/src/git/snapm/snapm/manager/_manager.py", line 1456, in create_snapshot_set create_snapset_boot_entry(snapset) File "/root/src/git/snapm/snapm/manager/_boot.py", line 247, in create_snapset_boot_entry snapset.boot_entry = _create_boom_boot_entry( File "/root/src/git/snapm/snapm/manager/_boot.py", line 202, in _create_boom_boot_entry entry = boom.command.create_entry( File "/root/src/git/boom-boot/boom/command.py", line 1159, in create_entry mount_units = parse_mount_units(mounts) File "/root/src/git/boom-boot/boom/mounts.py", line 142, in parse_mount_units return [_parse_mount_unit(mnt.strip()) for mnt in mounts] File "/root/src/git/boom-boot/boom/mounts.py", line 142, in <listcomp> return [_parse_mount_unit(mnt.strip()) for mnt in mounts] File "/root/src/git/boom-boot/boom/mounts.py", line 108, in _parse_mount_unit raise BoomMountError.invalid_device(what) boom.mounts.BoomMountError: Invalid mount device: nas0\x3a/data/stripe Please provide the package NVR for which the bug is seen: boom-boot-1.6.8-1.el10, boom-boot-1.6.8-1.el9 How reproducible is this bug?: 100% Reproducible: Always Steps to Reproduce: 1. boom create --title nfstest --root-dev /dev/rhel/root --mount “nas0\x3a/data/stripe:/mnt:nfs:defaults” (systemd.mount-extra style hex escaped “nas0:/data/stripe:/mnt:nfs:defaults”). Actual Results: “Invalid mount device: nas0\x3a/data/stripe”, exit status 1. Expected Results: The boom / snapm command exits with status 0 & a boot entry is created in /boot/loader/entries with the correct (hex-escaped) systemd mount unit syntax. (systemd.mount-extra=“nas0\x3a/data/stripe:/mnt:nfs:defaults) Additional Information: Fixed upstream: https://github.com/snapshotmanager/boom-boot/issues/395