Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1223191
| From | Sergey Aleynikov <sergey.aleynikov+deb@gmail.com> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption |
| Date | 2024-12-08 11:10 +0100 |
| Message-ID | <JRmoF-eFNq-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Package: kpartx
Version: 0.9.4-3+deb12u1
Severity: important
X-Debbugs-Cc: sergey.aleynikov+deb@gmail.com
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
Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread
Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption Sergey Aleynikov <sergey.aleynikov+deb@gmail.com> - 2024-12-08 11:10 +0100 Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption Chris Hofstaedtler <zeha@debian.org> - 2024-12-08 19:20 +0100 Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption Chris Hofstaedtler <zeha@debian.org> - 2024-12-08 20:50 +0100
csiph-web