[pkg-cryptsetup-devel] Bug#586704: Bug#586704: cryptsetup: unbootable root on luks encrypted LVM volume - stops after accepting pass phrase
Jonas Meurer
jonas at freesources.org
Mon Jun 21 20:48:33 UTC 2010
hey,
On 21/06/2010 Bjørn Mork wrote:
> 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.
thanks for the debugging, it saved me a lot of work.
> But I have no clue why it isn't working. And hints on debugging that?
yes, adding --debug to the commandline options of cryptsetup in
initramfs would be a good start. see the attached patch.
greetings,
jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptroot-script.patch
Type: text/x-diff
Size: 806 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100621/e4064653/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20100621/e4064653/attachment.pgp>
More information about the pkg-cryptsetup-devel
mailing list