[pkg-cryptsetup-devel] luks+lvm+initrd
Jonas Meurer
jonas at freesources.org
Thu Nov 1 12:18:40 UTC 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am 01.11.2012 10:59, schrieb Andrey_Kasyanov:
> Hi guys
Hey Andrey,
> 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.
This has been fixed in subsequent versions of cryptsetup. Sed is not
used for depnode detection any more:
depnode=$(dmsetup info -c --noheadings -o name "$dep" 2>/dev/null)
Kind regards,
jonas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQkmiaAAoJEFJi5/9JEEn+yMoP/1AY3rfhTlUD1XOvPIwOvOmG
74RTfLefBEs8S2JzG1BhbbQ/Wky4i2Jcpc/PlsqRVGenE1LqFkDhbwjM9/yAjwrR
3pQ09YDxDrRVvevseYB1uo4L38WcdVYsAz3BWxJRZfhW2mDuDgj2PHNtO0sdLe8l
CiH+rA8OpIwf6P0zEShXIAR1U4JCKCcbx+YqolRNz0bMwEFyS/0X5OUHdnprJ6F8
Fnr2B4iLLmm9lNo1mp1R8tLiX3mgevEKDI0Efi1NdGA//nbY4XuX8Ef+qQgfho9Y
G2JriD2dOlXqbs8dz7sW4/OBxDJbCVU2zDVrE4wv3OtCCOtGsJRMtVDWUB/kKriN
ePHTrwT1E4FKXPcSWf4HzzYZuBMgyYonag9pSTbRb72yjZJArvRsuU4/w1BCQkVU
WF77/Xbr52Ar1vQMsalU0uGHtnPGw7d1b5pl4ZceoR5MGPelXOTncfdkJCVTN5+P
dEGJcRrnJRd2hD/zw3LpK2qSIjw04FJ6aNYC38er59WQNxXkRGCBDnkuIQPM4AJX
Hy58L9AsRd8k/Qrv2r7j/yRd5euKWbyAk3wo+brpsIDdxaziOD5OaoLB0aUp3fgh
utVI7/kJpPUmERuqfwniG0VD4SLxTc08sdrIM9LjquNLejceG5fU8uWbys5t5+ac
vcpckiQn+Mg3GT96tVWQ
=+uwp
-----END PGP SIGNATURE-----
More information about the pkg-cryptsetup-devel
mailing list