Bug 2469064 - Fix NFS and CIFS mount syntax handling
Summary: Fix NFS and CIFS mount syntax handling
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: boom-boot
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Bryn M. Reeves
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-11 14:54 UTC by Bryn M. Reeves
Modified: 2026-05-12 01:32 UTC (History)
3 users (show)

Fixed In Version: boom-boot-1.6.8-5.fc44 boom-boot-1.6.8-3.fc43
Clone Of:
Environment:
Last Closed: 2026-05-12 00:49:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bryn M. Reeves 2026-05-11 14:54:01 UTC
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

Comment 1 Fedora Update System 2026-05-11 16:01:16 UTC
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

Comment 2 Fedora Update System 2026-05-11 16:02:11 UTC
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

Comment 3 Fedora Update System 2026-05-12 00:49:22 UTC
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.

Comment 4 Fedora Update System 2026-05-12 01:32:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.