Public bug reported:

Description:    Ubuntu 25.10
Release:        25.10

In dracut-core

file: /usr/lib/dracut/modules.d/70multipath/module-setup.sh

Line 167:

```
    inst_rules 40-multipath.rules 56-multipath.rules \
        62-multipath.rules 65-multipath.rules \
        66-kpartx.rules 67-kpartx-compat.rules \
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        11-dm-mpath.rules 11-dm-parts.rules
}
```

The udev rules numbers have changed for both multipath.rules and
kpartx.rules

Effect: kpartx is not run when boooting, multipath disk partitions are
not found, boot fails

What should happen: kpartx runs, partitions are found, boot continues


SHOULD ADD

```
+         60-multipath.rules 60-kpartx.rules \
```

With this change: booting proceeds without multipath assembly errors


For some reason multipath disk detection (but not partition detection) happened 
even when multipath-rules wasn't being included but I've added it for 
completeness and to avoid any more issues in future

There may be other similar errors elsewhere. Pointing to the wrong (non-
existent) udev rule is a fairly easy mistake to overlook until it
directly affects you


It may be better to dynamically scan for *.rules filenames without numbers as 
this will make the build process more robust in the face of dependent package 
changes. As it stands dracut will happily build an initrd which fails to boot - 
meaning errors are likely to recur as udev or other packages are tweaked

** Affects: dracut (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137190

Title:
  70multipath-module-setup.sh pointing to ghost location for kpartx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dracut/+bug/2137190/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to