[pkg-cryptsetup-devel] luks+lvm+initrd

Andrey_Kasyanov andrey.kasyanov at gosloto.ru
Thu Nov 1 09:59:17 UTC 2012

Hi guys

I have a lot of problems with rebuilding initrd on debian squeeze
ii  cryptsetup                          2:1.1.3-4squeeze2           
configures encrypted block devices

more concretely update-initramfs doesn't create cryptroot file  in
/conf/conf.d directory
The problem is in hooks/cryptroot in get_lvm_deps()  in sed regex

it should be something like that :  sed -n "s/\\([^ ]*\\)
*($maj[:,]$min)/\\1/p" | sed -e "s/[ \t]*$//")
otherwise dmsetup output parse incorrectly. In any case i do not
recommend to use sed for such purposes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20121101/b668317c/attachment.html>

More information about the pkg-cryptsetup-devel mailing list