On 11014 March 1977, David Härdeman wrote:

>>swap1 device random swap
>>cfoo device none luks,tries=3
>>cbar device none luks,tries=3
>>swap2 device random swap
>>cfoobar device none luks,tries=3
>>swap3 device random swap

>>(Of course use real entries for devices).

>>In theory that should get first swap1, then cfoo and cbar, then swap2
>>followed by cfoobar and swap3 done.

>>In practice it goes and does swap1, swap2, swap3 and then the "normal"
>>devices.
> Sounds weird, I can't reproduce it...the function do_start (line 397 in
> /lib/cryptsetup/cryptdisks.functions) reads /etc/crypttab like this:
> egrep -v "^[[:space:]]*(#|$)" "$TABFILE" | while read dst src key opts; do
>   SETUP MAPPING
> done

Yes, I know its weird, but it is what happens. :)

> Could you add some debugging output to do_start to try to see what is
> going on?

I try doing that soon, its a bit of a problem as that needs turning off
nearly everything on the machine.

-- 
bye Joerg
Debian is about free speech. beer once brewed can no longer be changed.

Attachment: pgpmWbV8bvNHi.pgp
Description: PGP signature

Reply via email to