Bug 164795 - sys-fs/cryptsetup-luks - set timeout in dm-crypt-start
|
Bug#:
164795
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: strerror@gentoo.org
|
Reported By: bettlertho@sis.unibe.ch
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: sys-fs/cryptsetup-luks - set timeout in dm-crypt-start
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-02-01 08:41 0000
|
/lib/rcscripts/addons/dm-crypt-start.sh should have a default timeout value
if something unexpected happens. If your machine is unattended it shouldn't
wait forever, but try to continue without mapping your encrypted devices.
As I use an external device as key storage formatted with vfat, I ran into case
conversion problems without having a clue, why my box is hanging now, since I
have no monitor attached to it. So I couldn't even remotely get a clue of all
these troubles.
Of course the timeout should be long, so that it only applies to unattended
boxes.
I am perfectly fine with the current state. Since I would need to plug in my
USB thumb drive within your proposed 60 seconds, I would be forced to watch the
boot process.
Perhaps we couĺd make a config option out of this?
I agree totally. I'd prefer to introduce a bootparam,
as this will allow us to also handle bug 162962 with the same param.
As this is right before mounting root, there is no easy way to configure it in
a file,
what makes me opt for the bootparam.
We could introduce
key_timeout=[secs to wait]
and use this value each time we don't detect our device.
Value of zero will mean wait forever.
thanks for patch. Some mods and in cvs.