[pkg-cryptsetup-devel] Bug#840480: cryptsetup initramfs hook warning with multiple encrypted physical volumes
Zoltan Hidvegi
zoltan at hidvegi.com
Tue Oct 11 22:26:02 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20161011/2c092f5d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptsetup-initramfs-hook.patch
Type: text/x-patch
Size: 334 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20161011/2c092f5d/attachment.bin>
More information about the pkg-cryptsetup-devel
mailing list