GNU bug report logs - #60154
‘guix substitute’ gets stuck when connection goes down

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Sat, 17 Dec 2022 11:15:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Dec 2022 11:14:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 17 06:14:18 2022
Received: from localhost ([127.0.0.1]:55287 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1p6V90-0000Zv-9l
	for submit <at> debbugs.gnu.org; Sat, 17 Dec 2022 06:14:18 -0500
Received: from lists.gnu.org ([209.51.188.17]:39056)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1p6V8y-0000Zp-Ub
 for submit <at> debbugs.gnu.org; Sat, 17 Dec 2022 06:14:17 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1p6V8y-00056J-ER
 for bug-guix@HIDDEN; Sat, 17 Dec 2022 06:14:16 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1p6V8y-0002Zp-6R
 for bug-guix@HIDDEN; Sat, 17 Dec 2022 06:14:16 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=PgbkKG/4HKN/OWSQh7rVqtQMSyxTzxdZSq5JgP6QZuw=; b=kknvB2ECZRrgZw
 wzMVsFKWfFh8ZxX5c6lwjusxeOZmoeZjf0ali8p4syXaH2u6Ir7f6jr94OABN7tLz3gUy83A0fCzw
 gGqCycl098OyH+xxbfHrxzb2eCQVP5AfzvqEyyf36CfgWm1P3Wb7QJnjDUa1xGGwUprRhWuG5evOl
 ZtFSrtGid+KeEwe+7+n+y91w2Xw7HX6lHOYhANZWPwsWuHWr5J0j+i+Oee3/nKUigFJKRJ6Pjcl3p
 Fzz2G/Cb3r4Ew0VdHWbBAoRKZaY6m1ZRkGsMgRKDs7Tgg+sQxQnVlX68Oawp/VTVrVw8zhzgcwF4g
 qLaL2w2qC2zQUyJyvo0A==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1p6V8x-0006M5-R1
 for bug-guix@HIDDEN; Sat, 17 Dec 2022 06:14:16 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?Q?=E2=80=98guix_substitute=E2=80=99?= gets stuck when
 connection goes down
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Septidi 27 Frimaire an 231 de la =?utf-8?Q?R=C3=A9vo?=
 =?utf-8?Q?lution=2C?= jour du =?utf-8?Q?Li=C3=A8ge?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sat, 17 Dec 2022 12:14:14 +0100
Message-ID: <87edsyi8op.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

As noted while debugging <https://issues.guix.gnu.org/59784>, turning
off networking while =E2=80=98guix substitute=E2=80=99 is downloading (be i=
t with
=E2=80=9Cifconfig X down=E2=80=9D or by physically unplugging the cable) le=
ads it to be
stuck in =E2=80=98read=E2=80=99 or =E2=80=98recvfrom=E2=80=99 for a long ti=
me.

Most likely this can be addressed by setting SO_RCVTIMEO and SO_SNDTIMEO
to a reasonable value on the socket.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#60154; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 15 Jun 2023 21:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.