:: [devuan-dev] bug#829: cryptroot-unl…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: tux2bsd
Date:  
À: submit@bugs.devuan.org
Sujet: [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