Dear Maintainer,
After upgrading from bullseye to bookworm, my boot sequence for assembling devices for the / partition stopped working.
I have the following scheme in place:
/dev/sdh - separate unencrypted /boot
/dev/sd[a-f] -> cryptsetup
X /dev/disk[1-6] -> drive partition (kpartx acts here)
/dev/disk[1-6]-part1 - mdadm raid with /
Prior to bookworm, all those steps happend automatically during boot, but after the upgrade second step marked X
won't occur without manual intervention - boot won't proceed, dropping me to console. After manually running kpartx -a,
boot proceeds normally and all later stages drives are assembled correctly.
While investigating this, I found that kpartx package has two following changes between bullseye and bookworm:
- dropped /lib/udev/dmsetup_env
- removed IMPORT{program}="dmsetup_env %M %m" line from /lib/udev/rules.d/60-kpartx.rules
After reverting those two changes, automatic boot sequence is restored for me. Is it possible to revert this change and restore
old correct behaviour? Or is some new mechanism suggested (and in this case it'd be great to mention it in Changes,
as currently there's no mentions of possible breakage and workarounds)?