[pkg-cryptsetup-devel] Bug#573073: cryptsetup: boot fails because fsck tries to access the device before it is unlocked

AllenS allens at thehousecat.com
Mon Mar 29 09:07:40 UTC 2010


I the same problem, but with an encrypted external USB drive.

My crypttab:
store    /dev/sda1   /etc/keys/store.key   luks,loud

My fstab:
/dev/mapper/store   /store   ext3   defaults   0   0

With this configuration in Lenny /store gets mounted successfully during 
boot.

In Squeeze the target /dev/mapper/store does not get created, and 
therefore /store does not get get mounted. I can manually run 
'cryptdisks' followed by 'mount /store' once I'm logged in and it works 
fine.

If I add 'sleep 3' at the start of 'handle_crypttab_line_start' it all 
works. (I tried 'sleep 1' but that didn't seem to be long enough).

Regards
Allen







More information about the pkg-cryptsetup-devel mailing list