Package: dracut / 110-2

Metadata

Package Version Patches format
dracut 110-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix multipath include Debian specific priority of udev ru.patch | (download)

modules.d/70dmraid/module-setup.sh | 2 2 + 0 - 0 !
modules.d/70multipath/module-setup.sh | 2 2 + 0 - 0 !
2 files changed, 4 insertions(+)

 fix(multipath): include debian-specific priority of udev rules

In Debian multipath-tools 0.13.0-1 carries
0004-Debian-specific-priority-of-udev-rules.patch which changes the
priority of udev rules with following reasoning:

11-dm-*.rules supposedly should apply after dmsetup rules, but in Debian
these have priority 55 instead of 11. Also for historic reasons,
multipath.rules and kpartx.rules have a slightly higher prio in Debian
than upstream.

The result is that kpartx is not run when booting, multipath disk
partitions are not found, and boot fails.

Until Debian/Ubuntu and upstream agrees on one common naming, include
the renumbered udev rules (similar to what has been done in the dm and
lvm Dracut modules).

Fixes: https://github.com/dracut-ng/dracut-ng/issues/2179
Bug-Ubuntu: https://launchpad.net/bugs/2137190

fix kernel modules export use return instead of exit in p.patch | (download)

man/dracut.modules.7.adoc | 7 6 + 1 - 0 !
modules.d/70kernel-modules-export/modules-export.sh | 12 6 + 6 - 0 !
2 files changed, 12 insertions(+), 7 deletions(-)

 fix(kernel-modules-export): use return instead of exit in pre-pivot
 hook

The `modules-export.sh` pre-pivot hook calls `exit 0`. This causes the
sourcing script (`dracut-pre-pivot.sh` on systemd or `init.sh` from the
base Dracut module) to exit. The subsequent hooks are not executed.

Use `return` instead of `exit` in kernel-modules-export pre-pivot hook.

Co-authored-by: Neal Gompa <neal@gompa.dev>
Fixes: https://github.com/dracut-ng/dracut-ng/issues/2227

fix memdisk use return instead of exit in cmdline hook.patch | (download)

modules.d/70memdisk/memdisk.sh | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix(memdisk): use return instead of exit in cmdline hook

The `memdisk.sh` cmdline hook calls `exit 0`. This causes the sourcing
script (`dracut-cmdline.sh` on systemd or `init.sh` from the base Dracut
module) to exit. The subsequent hooks are not executed.

Use `return` instead of `exit` in the memdisk cmdline hook.

Fixes: https://github.com/dracut-ng/dracut-ng/issues/2227

fix ppcmac use return instead of exit in pre udev hook.patch | (download)

modules.d/70ppcmac/load-thermal.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix(ppcmac): use return instead of exit in pre-udev hook

The `load-thermal.sh` pre-udev hook calls `exit 0`. This causes the
sourcing script (`dracut-pre-udev.sh` on systemd or `init.sh` from the
base Dracut module) to exit. The subsequent hooks are not executed.

Use `return` instead of `exit` in the ppcmac pre-udev hook.

Fixes: https://github.com/dracut-ng/dracut-ng/issues/2227

fix syslog use return instead of exit in initqueue online.patch | (download)

modules.d/77syslog/rsyslogd-start.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix(syslog): use return instead of exit in initqueue/online hook

The `rsyslogd-start.sh` initqueue/online hook calls `exit 0`. This
causes the sourcing script to exit. The subsequent code is not executed.

Use `return` instead of `exit` in the syslog initqueue/online hook.

Fixes: https://github.com/dracut-ng/dracut-ng/issues/2227