[Pkg-cryptsetup-devel] Proposed patch to cryptroot script
Swâmi Petaramesh
swami at petaramesh.org
Wed Nov 28 10:32:03 UTC 2007
Le Wednesday 28 November 2007 10:42:33 David Härdeman, vous avez écrit :
>
> What do you base that assertion on?
>
> The Debian udev package contains udev-0.114/extra/initramfs.premount with
> these lines:
I'm running the latest Ubuntu 7.10 Gutsy (not Debian, please don't yell ;-)
with :
cryptsetup 2:1.0.5-2ubuntu2
udev 113-0ubuntu16
...and it doesn't contain the "initramfs.premount" file you're pointing.
> Have you tried it? Does it not work?
Well, I wrote my patch because it obviously wouldn't boot without it, and does
boot with it (using an external USB hard disk holding the encrypted rootFS).
So at least in Ubuntu Gutsy, I'm positive about it : There was an issue, the
patch fixes it.
When I wrote it, I of course followed the logic of the series of scripts that
had been created into my initramfs, saw that ROOTDELAY was not taken into
account before trying to mount the actual, final rootFS, and decided for
myself that the good place to wait (using ROOTDELAY) for the host device for
the encrypted rootFS to become available was in the "cryptroot" script
itself, for this script is the only one to be actually aware that there is an
encrypted host device under the future rootFS...
Doesn't this make sense ?
Best regards.
(Please Cc: me on replies as I'm not subscribed to the dev list)
--
Swâmi Petaramesh <swami at petaramesh.org> http://petaramesh.org PGP 9076E32E
More information about the Pkg-cryptsetup-devel
mailing list