:: [devuan-dev] bug#829: cryptroot-unl…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: tux2bsd
日付:  
To: submit@bugs.devuan.org
題目: [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