reassign 394136 cryptsetup
retitle 394136 Add support for multiple device setup in initramfs
tags 394136 +d-i
thanks
On Fri, October 20, 2006 12:32, Miroslav Kure said:
> On Fri, Oct 20, 2006 at 10:50:34AM +0200, David Härdeman wrote:
>>
>> I'm fairly certain this is a bug in the cryptsetup initramfs scripts. It
>> might need some changes to partman-crypto as well though.
>>
>> Could you please provide me with the contents of /etc/crypttab and
>> /etc/fstab from the real filesystem (you should be able to setup the
>> second crypto volume manually, run vgchange -ay and then exit in the
>> initramfs shell to continue the boot)
>
> /etc/fstab:
>
> proc /proc proc defaults 0 0
> /dev/mapper/vg-ROOT / ext3 defaults,errors=remount-ro 0 1
> /dev/hda1 /boot ext3 defaults 0 2
> /dev/hdc /dedia/cdrom0 udf,iso9660 user,noauto 0 0
>
> /etc/crypttab:
>
> hda2_crypt /dev/hda2 none luks
> hdb1_crypt /dev/hdb1 none luks
Ok, as far as partman-crypto is concerned, it does the right thing. It's
the cryptsetup initramfs script and hook that need to be changed to
support multiple dependencies of the root partition. I'll reassign this
accordingly.
In case anyone is interested: the solution is to change the
/conf/conf.d/cryptroot format so that multiple devices can be listed.
Scripts should in that case also check for multiple cryptopts boot
arguments. This will require quite some rewriting but will allow #382280
to be fixed at the same time. I'll try to fix this by next week.
--
David Härdeman
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]