First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 164795
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Benjamin Smee (strerror) (RETIRED) <strerror@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Thomas Bettler <bettlertho@sis.unibe.ch>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dm-crypt.patch dm-crypt.patch patch Thomas Bettler 2007-02-01 08:42 0000 1.17 KB Details | Diff
cryptsetup-luks.patch dm-crypt.patch patch Thomas Bettler 2007-06-06 22:06 0000 1.96 KB Details | Diff
cryptsetup-luks.patch dm-crypt.patch patch Thomas Bettler 2007-06-08 08:15 0000 2.19 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 164795 depends on: Show dependency tree
Show dependency graph
Bug 164795 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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.

------- Comment #1 From Thomas Bettler 2007-02-01 08:42:07 0000 -------
Created an attachment (id=108823) [edit]
dm-crypt.patch

My proposition

------- Comment #2 From Christian Ludwig 2007-05-28 17:40:06 0000 -------
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?

------- Comment #3 From Thomas Bettler 2007-06-06 21:06:27 0000 -------
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.

------- Comment #4 From Thomas Bettler 2007-06-06 22:06:07 0000 -------
Created an attachment (id=121362) [edit]
dm-crypt.patch

Voila, here a first example...

------- Comment #5 From Thomas Bettler 2007-06-08 08:15:20 0000 -------
Created an attachment (id=121473) [edit]
dm-crypt.patch

Sorry, I just forgot to merge that length function... here it is and works fine
on my 2 boxes.

------- Comment #6 From Benjamin Smee (strerror) (RETIRED) 2007-10-02 15:47:28 0000 -------
thanks for patch. Some mods and in cvs.

First Last Prev Next    No search results available      Search page      Enter new bug