Bug#914458: [pkg-cryptsetup-devel] Bug#914458: cryptsetup-initramfs: Unable to open the LUKS system container at boot with the right password 6 times

2018-11-23 Thread Mikhail Morfikov
On 23/11/2018 22:02, Guilhem Moulin wrote: > On Fri, 23 Nov 2018 at 21:41:42 +0100, Mikhail Morfikov wrote: >> On 23/11/2018 20:37, Guilhem Moulin wrote: >>> Did you also add a loop to wait for the block device holding the LUKS >>> header? Since the device is discovered asynchronously you need to

Bug#914458: [pkg-cryptsetup-devel] Bug#914458: cryptsetup-initramfs: Unable to open the LUKS system container at boot with the right password 6 times

2018-11-23 Thread Guilhem Moulin
On Fri, 23 Nov 2018 at 21:41:42 +0100, Mikhail Morfikov wrote: > On 23/11/2018 20:37, Guilhem Moulin wrote: >> Did you also add a loop to wait for the block device holding the LUKS >> header? Since the device is discovered asynchronously you need to wait >> for it in order to eliminate the race.

Bug#914458: [pkg-cryptsetup-devel] Bug#914458: cryptsetup-initramfs: Unable to open the LUKS system container at boot with the right password 6 times

2018-11-23 Thread Mikhail Morfikov
On 23/11/2018 20:37, Guilhem Moulin wrote: > Did you also add a loop to wait for the block device holding the LUKS > header? Since the device is discovered asynchronously you need to wait > for it in order to eliminate the race. What exactly should I add? signature.asc Description: OpenPGP

Bug#914458: [pkg-cryptsetup-devel] Bug#914458: cryptsetup-initramfs: Unable to open the LUKS system container at boot with the right password 6 times

2018-11-23 Thread Guilhem Moulin
On Fri, 23 Nov 2018 at 19:12:30 +0100, Mikhail Morfikov wrote: >> cryptsetup-initramfs' ‘cryptroot’ is run (last) is local-top, so before >> your own script. So ‘cryptroot’ is bound to fail after trying to open >> the device a couple of times. Please move your script to local-top, and >> maybe

Bug#914458: [pkg-cryptsetup-devel] Bug#914458: cryptsetup-initramfs: Unable to open the LUKS system container at boot with the right password 6 times

2018-11-23 Thread Mikhail Morfikov
> cryptsetup-initramfs' ‘cryptroot’ is run (last) is local-top, so before > your own script. So ‘cryptroot’ is bound to fail after trying to open > the device a couple of times. Please move your script to local-top, and > maybe add a loop to make it block when the device is not present. I moved

Bug#914458: [pkg-cryptsetup-devel] Bug#914458: cryptsetup-initramfs: Unable to open the LUKS system container at boot with the right password 6 times

2018-11-23 Thread Guilhem Moulin
Control: retitle -1 cryptsetup-initramfs: user is prompted for password even when the detached header is missing On Fri, 23 Nov 2018 at 17:05:13 +0100, Mikhail Morfikov wrote: > So, to open my laptop, I have to connect the USB device (my phone) > first. In order to make this work, I had to write