:: [devuan-dev] bug#829: cryptroot-unl…
Etusivu
Poista viesti
Vastaa
Lähettäjä: tux2bsd
Päiväys:  
Vastaanottaja: submit@bugs.devuan.org
Aihe: [devuan-dev] bug#829: cryptroot-unlock: remote unlock fails with "Try again later"
Package: cryptsetup-initramfs
Version: 2:2.6.1-4~deb12u1

Devuan Daedalus

ssh to unlock via cryptsetup-initramfs remotely met with "Try again later" from cryptroot-unlock script.

As per the discussion and information from
https://dev1galaxy.org/viewtopic.php?pid=47015

This two line change fixes the problem:

diff /usr/share/cryptsetup/initramfs/bin/cryptroot-unlock.bug /usr/share/cryptsetup/initramfs/bin/cryptroot-unlock
33c33
< if [ ! -f "$TABFILE" ] || [ "$TABFILE" -ot "/proc/1" ]; then
---
> if [ ! -f "$TABFILE" ] ; then

35c35
<       echo "Try again later" >&2
---

>       echo "Error: $TABFILE missing." >&2