Sleep in cryptroot-unlock specified in fractions of a second
Bug #1793339 reported by
Peter Glock
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cryptsetup |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using cryptroot-unlock for remote unlocking of a LUKS partition for secure booting of a raspberry pi.
The script works fine in that I can enter an unlock code and continue with boot, but before boot continues I see an error message of "Error: Timeout reached while waiting for PID".
I've traced the issue to /usr/share/
On line 86, I see "sleep .1"
In the version of Busybox used on the Pi, sleep can only be specified in whole seconds.
Changing ".1" to "1" makes the script exit normally with no errors.
To post a comment you must log in.
Checked on BusyBox 1.1.2 which DOES allow fractional sleep durations. Please ignore this report.