Bug#370180: [Pkg-cryptsetup-devel] Bug#370180: cryptsetup: cryptroot initramfs hook script fails if root blockdevice has no options in /etc/crypttab

Daniel Kahn Gillmor dkg-debian.org at fifthhorseman.net
Mon Jun 5 06:37:17 UTC 2006


On June 4, david at 2gen.com said:

 > I've committed a fix to cryptsetup SVN. It will be included in the next 
 > upload.

Great, thanks!

i'm also attaching a patch for
/usr/share/initramfs/scripts/local-top/cryptroot which should properly
handle missing (i.e. default) arguments for a standard cryptsetup root
blockdevice during the boot phase.  Note that the default
{hash,cipher,size} args that are currently present in this script in
SVN don't actually match the default args as specified in man
cryptsetup!  This seems like potential trouble to me.  i hope you find
the attached patch reasonable and useful.  The patch should apply
against the current pkg-cryptsetup SVN.

Sadly, the hard disk i was testing these changes on developed physical
sector errors just yesterday, and i've had to start over fresh.  so
again, this patch isn't properly tested :( In my new
installation/recovery to a new disk, i've gone with LUKS, since that
seems to be the upcoming standard.

When i get a chance, i'd be happy to try out this installation on a
new rig, but i've got nothing to play with at the moment to really
verify that it all works properly.

Thanks for all your work on this,

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-args.diff
Type: text/x-diff
Size: 1386 bytes
Desc: fix for cryptsetup args as used within initramfs
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20060605/13c64d5f/fix-args.bin


More information about the Pkg-cryptsetup-devel mailing list