I think this could be one way to solve this:
diff -U 3 ~/udev_orig /usr/share/initramfs-tools/hooks/udev
--- /home/ubuntu/udev_orig 2025-03-19 12:36:21.643873203 +0000
+++ /usr/share/initramfs-tools/hooks/udev 2025-03-19 12:59:12.031514341
+0000
@@ -73,7 +73,10 @@
# Skip rules generated by chzdev as they are handled by its own hook.
# See LP: #2044104
if [ $ZDEV_FILTERING -eq 1 ] && /usr/sbin/chzdev --is-owner "$rules"; then
- continue;
+ # only skip if rule is explicitly NOT configured as zdev_early
+ if [ $(grep "ENV{zdev_early}=\"0\"" "$rules") ]; then
+ continue;
+ fi
fi
if [ ! -e "/usr/lib/${rules#/etc/}" ]; then
In other words (and iianm):
- if rule is configured as zdev_early=1, it's explicitly asked to be added to
the initrd
- if rule is configured as zdev_early=0, it's explicitly asked to NOT be added
to the initrd
- if zdev_early is not (explicitly) set at all, it's safe(r) to be copied to
initrd (this is the usual no autoconfig case on non-DPM systems before
s390-tools v2.33.0 / before oracular)
but needs review
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2102236
Title:
plucky/s390x (with root disk on dm?) does not come up after kernel
update + reboot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/2102236/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs