cryptsetup doesn't wait long enough for usb drive to appear on Ubuntu 8.04

Bug #345867 reported by Peter Schlaile
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)

Bug Description

Binary package hint: cryptsetup

Installing Ubuntu 8.04 on an encrypted USB drive as the root device (default installer choice: encrypted LVM, default options) fails, since cryptsetup doesn't seem to wait long enough for the usb drive to appear (and therefore we are never asked for the password and dropped into a busybox).

Patch is attached, that fixes the problem.

Revision history for this message
Peter Schlaile (peter-schlaile) wrote :
Luke Faraone (lfaraone)
Changed in cryptsetup (Ubuntu):
importance: Undecided → Medium
Changed in cryptsetup (Ubuntu):
assignee: nobody → Abhishek kumar singh (abhishekkumarsingh-cse)
status: New → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote :

Is this still an issue with later releases? Note that the patch no longer applies to the current version of the cryptroot script.

Changed in cryptsetup (Ubuntu):
status: In Progress → New
assignee: Abhishek kumar singh (abhishekkumarsingh-cse) → nobody
status: New → Incomplete
Revision history for this message
Peter Schlaile (peter-schlaile) wrote :

... pffft, if you handle all bug reports after two years, well ...

Then - maybe - the attached patches are a little bit out of date, aren't they?

If you want to check, take a look, and see if the current cryptroot script tries to find the device multiple times
using a loop (the patch has only 3 lines of code, should be pretty obvious, what it does, right?)

If current Ubuntu doesn't have that problem, you might still want to apply this patch to 8.04 - might still help
some people out there... or well ... maybe it doesn't since it is over two years old...

Revision history for this message
Steve Langasek (vorlon) wrote :

Yes, it's obvious what it does, but it's not at all clear that it's still needed. We already have a 180 second delay by default polling for the device in the current local-top/cryptroot script; this patch should be redundant now, and if it isn't, we probably need to do something better than just extending the delay.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cryptsetup (Ubuntu) because there has been no activity for 60 days.]

Changed in cryptsetup (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.