[Pkg-cryptsetup-devel] Bug#488271: Bug#488271: cryptsetup: use a loop to wait for the root device

David Härdeman david at hardeman.nu
Sun Jun 29 21:42:08 UTC 2008


On Fri, Jun 27, 2008 at 02:31:50PM +0100, James Westby wrote:
>  https://launchpad.net/bugs/164044
>
>a user said that he was unable to boot with the root device
>being a slow USB device, as the udevsettle call was only
>sufficient if the kernel was currently processing an event
>which would cause the device to appear. If the event is so slow
>that the udevsettle call is made prior to it's arrival
>the boot will fail.
>
>The attached patch is used in Ubuntu to implement a sleeping
>loop waiting for the device to appear, as is done for a
>normal root device. Please consider applying the patch.

initramfs-tools already has a rootdelay parameter which is executed 
before the cryptsetup initramfs script. What is the advantage of 
duplicating that functionality?

-- 
David Härdeman





More information about the Pkg-cryptsetup-devel mailing list