* Colin Guthrie ([email protected]) wrote: > 'Twas brillig, and Olivier Thauvin at 24/07/12 10:02 did gyre and gimble: > > I have some minor issues with systemd so I report it in case some > > improvment could be done: > > > > 1) The timeout is very long when the system failed to ask the passphrase > > for encrypted partition, os it is very long to reach any console (this > > happend only when there is a problem) > > > > 2) When everything work fine, the timeout occur if the passphrase for > > encrypted partition is not enter early enough: I power up my laptop, do > > something else, come back and it report the boot has failed, surprising! > > So it's both too long and too short :) > > I'm not sure how to deal with this, but I would suggest that we need to > do something a bit more creative to deal with your particular use case. > > For yourself, it's not a "critical" filesystem - e.g. it's not /usr or > similar, but /home.
No you misunderstood, if the system succeed to launch '/usr/bin/ask-the-passphrase' or whatever its name is, it must wait an answer for ever and not continue booting and finally claim "hey surprising, I failed to boot w/o the passphrase". The firest time it happend I really thought my system was broken. However, if it cannot launch '/usr/bin/ask-the-passphrase' it is sure booting will failed as it cannot get the passphrase, no need to wait an impossible user input. Again, the case I just talk about happend only in case of bug and must not happend on stable distro. > > 3) the boot process hang/stop/wait if my wireless card is down (using > > the hardware switch on the side of my laptop). This step need just one > > second when the card is on, even it does not connect to any network. > > If you have any NFS (or other network mounts) mounts that are NOT marked > with nofail, then we consider them to be "critical" filesystems. If > these filesystems are NOT needed for boot, then just mark them as > "nofail" and they will still be mounted but your DM/logins will not be > delayed while waiting for the network. I don't have nfs in my fstab but maybe this is triggered by another service. But I don't see the point of waiting the card to be on, especially when the card is on it don't connect to any network and don't wait this happend. -- Olivier Thauvin CNRS - LATMOS ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
pgplKpiNv0hP7.pgp
Description: PGP signature
