Bug#290708: initrd-tools: dm-crypt devices initialized with wrong arguments for cryptsetup
* Tino Keitel <firstname.lastname@example.org> [2005-01-16 05:03]:
> I use LVM2 on top of a dm-crypt device. With the initrd created by
> mkinitrd the cryptsetup command is called with wrong arguments. The -s 128
> and -h plain options are missing. The system won't be bootable. If I
> hack mkinitrd to call cryptsetup with -c aes -s 128 -h plain then the
> system will boot without problems.
> Here is my /etc/crypttab:
> crypt_vg1 /dev/ide/host0/bus0/target0/lun0/part3 none cipher=aes,size=128,hash=plain
> Maybe the information in /etc/crypttab should be used the same way as in
> the initscript to contruct the command line for cryptsetup.
Wesley, can you take a look at this bug report?