[pkg-cryptsetup-devel] Bug#586704: Bug#586704: cryptsetup: unbootable root on luks encrypted LVM volume - stops after accepting pass phrase

Bjørn Mork bjorn at mork.no
Mon Jun 21 20:25:52 UTC 2010


Bjørn Mork <bjorn at mork.no> writes:

>  bjorn at nemi:/tmp$ diff -qarN good bad
>  Files good/lib/cryptsetup/askpass and bad/lib/cryptsetup/askpass differ
>  Files good/sbin/cryptsetup and bad/sbin/cryptsetup differ
>  Files good/scripts/local-top/cryptroot and bad/scripts/local-top/cryptroot differ
>
> Which means that the difference must be in one of these three files.
> Most of this seems innocent, as there is no /bin/plymouth, but I'm
> wondering a bit about the last hunch here, what does it do?:

Whatever it is, it is obviously OK.

Since I'm booting a lot anyway tonight, I just tried replacing these
three files one by one to see which one makes a difference.  And I
assume you will not be surprised when I say that it is sbin/cryptsetup.

Replacing sbin/cryptsetup with the 2:1.1.0-2.1 version, while keeping
both scripts/local-top/cryptroot and lib/cryptsetup/askpass from
2:1.1.2-1, creates a working initramfs.

But I have no clue why it isn't working.  And hints on debugging that?



Bjørn





More information about the pkg-cryptsetup-devel mailing list