Your message dated Wed, 22 Aug 2012 19:25:57 +0100 (BST)
with message-id <[email protected]>
and subject line Fixed in recent cryptsetup package
has caused the Debian Bug report #664463,
regarding /conf/conf.d/cryptroot is missing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
664463: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=664463
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: initramfs-tools
Version: 0.101

Hi folks,

I am trying to setup an encrypted logical volume to
hold the root filesystem and swap. "Hardware" a virtual PC
created using kvm. Problem: There is no password dialog
at boot time. After a minute waiting I am in busybox.

Looking inside the initrd I see all the lvm and cryptsetup
and mdadm tools, but it seems that conf/conf.d/cryptroot is
missing. I can manually luksOpen the physical volume,
activate the volume group and mount the root partition.
initrd cannot :-(.

If I try the same procedure on a laptop and squeeze, then
the cryptroot config file is included. The laptop boots
with password dialog as expected.

Any helpful comment would be highly appreciated.


Harri
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk9lApEACgkQUTlbRTxpHjfmKACfT5+QNUGrAmDnsqpTxhdaObgp
BmUAn1t8ReunepSNGDIdv7AvAbyiloIt
=vxAf
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
Package: cryptsetup
Version: 2:1.4.3-2

The initramfs hook script in older versions of this package
parsed the output of 'dmsetup ls' with a sed regex - the output
of 'dmsetup ls' has changed (recently?) which is what caused
this bug.

As of 1.4.3-2, the hook script has an implementation of get_lvm_deps
which uses invocations of 'vgs', 'dmsetup splitnames' and 'dmsetup info'
and which doesn't need to parse their output nearly as much, and does not
appear to have a problem with any of the dmsetup output it relies on.

To check whether you are affected, you can run updated-initramfs -u, then:

 mkdir -p /tmp/unpack-initrd
 cd /tmp/unpack-initrd
 cpio -i < <(cat /boot/initrd.img-VERSION-ARCH | gzip -dc
 cat conf/conf.d/cryptroot

You should see something like:

target=VOLUME,source=/dev/PARTTION,key=none,rootdev,lvm=VOLUME-BLAH
target=VOLUME,source=/dev/PARTTION,key=none,lvm=VOLUME-MOREBLAH

Typically, if you are affected, this file ("cryptroot") will be
missing.

End Transmission.

--- End Message ---

Reply via email to