From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YH0VA8KknWMEVAAAbAwnHQ (envelope-from ) for ; Sat, 17 Dec 2022 12:15:14 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id AJXqAsKknWN0SgEAauVa8A (envelope-from ) for ; Sat, 17 Dec 2022 12:15:14 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B625145D9D for ; Sat, 17 Dec 2022 12:15:13 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6V9k-00058S-T5; Sat, 17 Dec 2022 06:15:06 -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 ) id 1p6V9i-00058I-N2 for bug-guix@gnu.org; Sat, 17 Dec 2022 06:15:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p6V9h-0002dA-Sw for bug-guix@gnu.org; Sat, 17 Dec 2022 06:15:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p6V9h-0000b8-OX for bug-guix@gnu.org; Sat, 17 Dec 2022 06:15:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#60154: =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= gets stuck when connection goes down Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 17 Dec 2022 11:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60154 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 60154@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16712756582231 (code B ref -1); Sat, 17 Dec 2022 11:15:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Dec 2022 11:14:18 +0000 Received: from localhost ([127.0.0.1]:55287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p6V90-0000Zv-9l for submit@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 ) id 1p6V8y-0000Zp-Ub for submit@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 ) id 1p6V8y-00056J-ER for bug-guix@gnu.org; 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 ) id 1p6V8y-0002Zp-6R for bug-guix@gnu.org; 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 ) id 1p6V8x-0006M5-R1 for bug-guix@gnu.org; Sat, 17 Dec 2022 06:14:16 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 27 Frimaire an 231 de la =?UTF-8?Q?R=C3=A9volution, ?= 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@inria.fr> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671275713; a=rsa-sha256; cv=none; b=SmGolfhI6ReYio6jlcaWOGXtct6QKZNnKV/2e8Ugu3nCnjB2JmaJvWXsIHtRrTxQ6hdnh/ iv7p0gBho60CAkbVjOW4bPujTwdFxsKoZAe0l+gWMKDeevKAXtvhFl/CvGW3nw3HJbRaqT 8HWWB/9n/r5J0m60PvrzMysbKPmAteMvkm8WByMKndYCWmINT8U4r0ILgK2y8rOwwo5NN0 kiF9u+Q3H5l484r4AMueu8Fu8HXO/Hqk7fHHAZDJOE/+c35qHH/PmGhOpjJ+i9RfJFox7+ YpCCbE9NWKXR0oHimqv5vxLdYdXo2nU0/sVeoRGEaWoQaWhhVg10wffeFz+Uuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kknvB2EC; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671275713; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=PgbkKG/4HKN/OWSQh7rVqtQMSyxTzxdZSq5JgP6QZuw=; b=mJl+JVj9o+BspsMklHzkRY7YmJ56Gz4a+UeKjTmcfLJgX6eOTKDM9K3eVBZ+F6aTPQ6S5O McRrh8nutGLxJ1Pa+SYfGnZAWVfsSx8NVE4J47lO0tAfufkURG6Jc7w1mf77gbruKusHxw cV692gYYFAddTSGGFJBemuoxGbeKgPq2PIrb9kwBbyelEwu7kRW2+/GKn36RxETzT31lU7 avXG4eLdimjK3KhVetIBOgFBe7WpC8o1rBw+RxKZVKTskVH6mBHYx23ulrL67OvivnMEDN +20204L3W8pX5a0dOFX/fQIWu/jiXYZ5zsbXgXdo/CEQrnolo/Wm9BkIJcduiQ== X-Migadu-Spam-Score: -2.37 X-Spam-Score: -2.37 X-Migadu-Queue-Id: B625145D9D Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=kknvB2EC; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-TUID: RpDC5Jf23Ypu As noted while debugging , 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.