Package: cryptsetup Version: 2:1.7.2-3 I have a volume group with 2 physical volumes named ssd.luks and spin.luks. Both are encrypted with luks. This is the only VG in the system, and it contains all filesystems. When I run update-initramfs, I get this warning:
update-initramfs: Generating /boot/initrd.img-4.7.0-1-amd64 cryptsetup: WARNING: invalid line in /etc/crypttab for ssd.luksspin.luks - This happens because when there are multiple luks devices in a volume group, they are printed without space so the names get concatenated, and the concatenated device is not found. The attached patch fixes the issue for me. Thanks, Zoltan
--- /mnt/btroot/root-2016.10.11/usr/share/initramfs-tools/hooks/cryptroot 2016-10-06 03:47:05.000000000 -0500 +++ /usr/share/initramfs-tools/hooks/cryptroot 2016-10-11 17:01:40.826238533 -0500 @@ -230,7 +230,7 @@ get_lvm_deps "$depnode" continue fi - printf '%s' "$depnode" + printf '%s\n' "$depnode" done return 0