[Pkg-cryptsetup-devel] Proposed patch to cryptroot script
Jonas Meurer
jonas at freesources.org
Tue Nov 27 21:21:15 UTC 2007
Hey Swâmi,
On 23/11/2007 Swâmi Petaramesh wrote:
> > As David pointed out, the 'rootdelay' parameter to initramfs already does
> > what your patch proposes. It waits for the root device to be available.
>
> No it does not !
>
> Because in the current setup rootdelay is used only AFTER the encrypted device
> has been activated : It waits from the final root device to become available,
> but it does *NOT* wait for the encryption "host device" to be available
> before trying to activate it.
>
> Hence my patch that does exactly this in cryptroot : Use "rootdelay" and
> replicate its exact current behaviour with the "root" device, to the
> encrypted HOST of the root device, which is activated *before* rootdelay was
> used...
sorry, you're absolut correct here. but i have to admit that adding
yet another workaround is no option for us. the propper fix needs to be
done in kernel and udev instead, and people already work on this.
so i suggest that you use your patch locally for the time being, and as
soon as a fixed kernel exists, you remove the workaround.
would that be ok for you?
greetings,
jonas
More information about the Pkg-cryptsetup-devel
mailing list