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

Scott James Remnant scott at ubuntu.com
Tue Jul 1 21:25:50 UTC 2008


On Tue, 2008-07-01 at 23:11 +0200, David Härdeman wrote:

> On Tue, Jul 01, 2008 at 09:09:19PM +0100, Scott James Remnant wrote:
> >On Tue, 2008-07-01 at 22:03 +0200, Reinhard Tartler wrote:
> >> Oh, I needed to do some investiagtions about that file, it has been
> >> submitted by you as #414842. However, that particular patch has not been
> >> applied to ubuntu's udev.
> >> 
> >> Scott, can you have a look at this patch:
> >> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=udev-support_rootdelay.patch;att=1;bug=414842
> >> 
> >> Is that acceptable for ubuntu?
> >> 
> >No.
> >
> >We already have a loop in mountroot() to deal with this problem, it
> >waits until the root device is actually available before proceeeding.
> 
> Which is after all initramfs scripts have already had their chance of 
> executing.
> 
No initramfs script should use the root device before it has been
mounted.

If you want to modify or create root devices, it should be done with a
udev rule.

Scott
-- 
Scott James Remnant
scott at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080701/c425c248/attachment.pgp 


More information about the Pkg-cryptsetup-devel mailing list