On 14/01/2025 at 08:53, Pascal Hambourg wrote:
On 14/01/2025 at 02:51, Dave wrote:
(Possible dupe of 1092968)
I installed Debian testing from a live CD.
During the installation process, I set up 2 encrypted partitions:
- btrfs on LVM on LUKS for the root file system
- swap on an encrypted partition with a random key
(...)
The encrypted partition for the root file system correctly prompted
for the passphrase when booting, and worked completely normally.
(...)
systemd-cryptsetup package should be installed.
systemd-cryptsetup is a new package split from systemd. systemd
recommends it but it may not be available when the base system is
installed and/or recommends are ignored.
systemd-cryptsetup is included in netinst images but d-i does not
install it. I guess Recommends: are ignored by debootstrap.
I am quite puzzled how the resulting system was able to decrypt one
partition, but not the other.
The LUKS volume containing the root filesystem is decrypted by the
initramfs which does not need systemd-cryptsetup.
systemd-cryptsetup is required to open encrypted volumes other than
those which are already opened by the initramfs (/, /usr, hibernation
swap). I believe this bug should be fixed before Trixie release so added
it to the wiki wishlist.