[pkg-cryptsetup-devel] Bug#507721: Bug#507721: cryptsetup: Sometimes initrd ends up missing conf/conf.d/cryptroot file in it
Christian Jaeger
christian at jaeger.mine.nu
Tue Dec 16 19:09:57 UTC 2008
Jonas Meurer wrote:
> Thanks for your great debugging work, Christian. I wouldn't have been
> able to track down this bug that soon without your invaluable help.
> Same goes to Ben Hutchings and Yves-Alexis Perez. You rock!
>
Thanks for the credit.
> I've just prepared cryptsetup 1.0.6-7 with this bug and several others
> fixed. Would you mind testing the packages before I actually upload them
> to unstable and ask for inclusion in lenny? Many changes since 1.0.6-6
> are documentation improvements, but there are also some code fixes in
> initscripts, initramfs scripts and keyscripts.
>
> you can find the packages at http://people.debian.org/~mejo/cryptsetup/
>
I've tested with my now usual "cheap" approach, i.e. checking the
contents of the generated initrd (I can't boot right now because of some
other ongoing work). Your version didn't work according to this testing,
as can be seen from the attached observation log. I've then done one
change, namely remove the double quotes from $depnode
http://christianjaeger.ch/dyn/pubgit/gitweb?p=cryptroot-debugging.git;a=commitdiff;h=ac6be141ffbb8bf05d6f6a3f57bf67c4fb2a8dbf
and with this it now works. When I made my comment about not using
double quotes there I really meant it, I saw from the debugging session
that $depnode has like 5-10 spaces and/or tabs appended.
(I'm somewhat surprised that it doesn't seem to need my find hacks
anymore, don't know what's going on there, either it was because I only
tested as standalone script during debugging, or you did maybe change
something else.)
Christian.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cryptosetup_report_postfix.txt
Url: http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20081216/2b2516a4/attachment.txt
More information about the pkg-cryptsetup-devel
mailing list