Package: kpartx
Version: 0.9.4-3+deb12u1
Severity: important
X-Debbugs-Cc: [email protected]
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)?
-- System Information:
Debian Release: 12.8
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-28-amd64 (SMP w/56 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages kpartx depends on:
ii dmsetup 2:1.02.185-2
ii libc6 2.36-9+deb12u9
ii libdevmapper1.02.1 2:1.02.185-2
ii udev 254.16-1~bpo12+1
kpartx recommends no packages.
kpartx suggests no packages.
-- no debconf information