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

Bug #345867 reported by Peter Schlaile on 2009-03-20
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
Medium
Unassigned

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.

Peter Schlaile (peter-schlaile) wrote :
Luke Faraone (lfaraone) on 2009-10-24
Changed in cryptsetup (Ubuntu):
importance: Undecided → Medium
Changed in cryptsetup (Ubuntu):
assignee: nobody → Abhishek kumar singh (abhishekkumarsingh-cse)
status: New → In Progress
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
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...

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.

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  Edit
Everyone can see this information.

Other bug subscribers