dracut, or should booting a LiveCD touch the hard disk?

Chuck Anderson cra at WPI.EDU
Mon Oct 5 02:25:18 UTC 2009


On Sun, Oct 04, 2009 at 06:44:47PM -0400, Ray Strode wrote:
> > What do others think?  Should the LiveCD by default access and
> > activate storage volumes, including encrypted partitions, on the hard
> > disks?  Should the LUKS prompts better identify the volume so that
> > users know what passphrase to enter?
> This seems like a misfeature in dracut for LiveCD or otherwise.
> 
> The initrd should be about getting / mounted read-only and nothing else.
> 
> There's a reason why plymouth doesn't identify the volume in the initrd.
> Plymouth is graphical and so would need to ship fonts, font
> renderering libraries,
> and translations in the initrd to display text. That's a non-starter.
> 
> It's okay though, because in most cases the user should only ever get
> asked for one passphrase from the initrd,
> so we don't need to show anything but a lock icon and an entry box.
> 
> If that's no longer the case in a dracut world, we probably need to fix dracut.

I agree that this is the best solution.  Fix dracut to only activate 
and mount /.  I found these bugs closed as NOTABUG:

https://bugzilla.redhat.com/show_bug.cgi?id=512620
https://bugzilla.redhat.com/show_bug.cgi?id=524366

and this is the one I had just opened:

https://bugzilla.redhat.com/show_bug.cgi?id=525877

so if this is "working as intended" is there any chance of changing 
the default behavior to work as expected above?




More information about the fedora-devel-list mailing list