Devuan bug report logs - #829
cryptroot-unlock: remote unlock fails with "Try again later"

version graph

Package: cryptsetup-initramfs; Maintainer for cryptsetup-initramfs is (unknown); Source for cryptsetup-initramfs is src:cryptsetup.

Reported by: tux2bsd <tux2bsd@protonmail.com>

Date: Sun, 7 Jan 2024 20:40:11 UTC

Severity: normal

Found in version 2:2.6.1-4~deb12u1

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#829; Package cryptsetup-initramfs. (Sun, 07 Jan 2024 20:40:11 GMT) (full text, mbox, link).


Acknowledgement sent to tux2bsd <tux2bsd@protonmail.com>:
New bug report received and forwarded. Copy sent to devuan-dev@lists.dyne.org. (Sun, 07 Jan 2024 20:40:12 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: tux2bsd <tux2bsd@protonmail.com>
To: "submit@bugs.devuan.org" <submit@bugs.devuan.org>
Subject: cryptroot-unlock: remote unlock fails with "Try again later"
Date: Sun, 07 Jan 2024 20:38:41 +0000
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


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Sat Apr 27 18:54:34 2024;