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

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#829: cryptroot-unlock: remote unlock fails with "Try again later"
Reply-To: tux2bsd <tux2bsd@protonmail.com>, 829@bugs.devuan.org
Resent-From: tux2bsd <tux2bsd@protonmail.com>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: devuan-dev@lists.dyne.org
X-Loop: owner@bugs.devuan.org
Resent-Date: Sun, 07 Jan 2024 20:40:11 +0000
Resent-Message-ID: <handler.829.B.1704659945541@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 829
X-Devuan-PR-Package: cryptsetup-initramfs
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.1704659945541
          (code B); Sun, 07 Jan 2024 20:40:11 +0000
Received: (at submit) by bugs.devuan.org; 7 Jan 2024 20:39:05 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:14::58c6:6475]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Sun, 07 Jan 2024 20:39:05 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id jky+A+ILm2WhNgAAmSBk0A
	(envelope-from <tux2bsd@protonmail.com>)
	for <bugs@devuan.org>; Sun, 07 Jan 2024 20:38:58 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 03519614; Sun,  7 Jan 2024 20:38:57 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,
	SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
	version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=185.70.43.25; helo=mail-4325.protonmail.ch; envelope-from=tux2bsd@protonmail.com; receiver=<UNKNOWN> 
Received: from mail-4325.protonmail.ch (mail-4325.protonmail.ch [185.70.43.25])
	by email.devuan.org (Postfix) with ESMTPS id BCF281D
	for <submit@bugs.devuan.org>; Sun,  7 Jan 2024 20:38:53 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
	s=protonmail3; t=1704659932; x=1704919132;
	bh=UKYoZ7A34lslz5kR9cFQ/MDbxE6cUqRVQgnTan2P/Ps=;
	h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:
	 Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector;
	b=dM05eZRVMRwLMicbXYnvjUdrRLISNreM61XvJpotJJ5HIRmpa+9FJS8VpRKJlpGH2
	 2BaXkyMEieTmI3DDEwIxtKmPlOVeIe3L6ayax/5k03JjigtDrxaqvHn5EtTXiBAXwq
	 1TNbEbIKdPgeTtEhrnMcXqpt/5KLxw4ko5KqmwZLh9/6IfLKx8R5LxfmOB8DIwyvnU
	 xF6tO5TYEVzEAdGixljW0To3lPcW2NrZE6h3fY/xA/Bt03Oxhtr7tQcn8KDT1WFrqR
	 EsU0AW9zYHXk0upoZYq0fLD8GBWTnh1/GiRZhVZTLujzvHw1MWpgOhBzvLt9kW20sm
	 OIKTNxlR/FDeQ==
Date: Sun, 07 Jan 2024 20:38:41 +0000
To: "submit@bugs.devuan.org" <submit@bugs.devuan.org>
From: tux2bsd <tux2bsd@protonmail.com>
Message-ID: <e7tTQRDVCrHyf_uketHm0QAPWgN_6PJKneVSwnEgVOnrN5erYypf7dplA9M9eZEl98TRQxqACTjhpGl0tAVjwafd2SWAGAYNlpub9ewv8Eo=@protonmail.com>
Feedback-ID: 34758390:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
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: Fri May 10 01:33:15 2024;