Sleep in cryptroot-unlock specified in fractions of a second

Bug #1793339 reported by Peter Glock
6
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/cryptsetup/initramfs/bin/cryptroot-unlock

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.

Tags: busybox sleep
Revision history for this message
Peter Glock (peter-glock) wrote :

Checked on BusyBox 1.1.2 which DOES allow fractional sleep durations. Please ignore this report.

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.