[pkg-cryptsetup-devel] Bug#789125: initramfs-tools: update-initramfs fails w/ random luks key for swap
Brainslug
brainslug at freakmail.de
Thu Jun 18 18:30:20 UTC 2015
Some more info:
The problem seems to be the "_" in the swap's crypto device name. If I
replace "sda4_crypt" with something that does not contain an underscore,
this works, for example:
sda4crypt /dev/sda4 /dev/urandom cipher=aes-xts-plain64,size=256,swap
sda5_crypt UUID=2fa9feb8-b096-41f7-bf17-41399ccc8004 none luks,discard
root at laptop:/etc# update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.16.0-4-amd64
root at laptop:/etc#
However, underscore is not a problem on any of my non-swap devices, like
the root partition sda5_crypt. Only for the swap partition.
Thanks!
More information about the pkg-cryptsetup-devel
mailing list