GNU bug report logs - #67708
‘guix system reconfigure’ crashes upon host name resolution failure

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 <ludovic.courtes@HIDDEN>; dated Fri, 8 Dec 2023 13:16:02 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; 8 Dec 2023 13:15:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 08 08:15:19 2023
Received: from localhost ([127.0.0.1]:44130 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rBahL-0001ws-7i
	for submit <at> debbugs.gnu.org; Fri, 08 Dec 2023 08:15:19 -0500
Received: from lists.gnu.org ([2001:470:142::17]:53332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludovic.courtes@HIDDEN>) id 1rBahJ-0001wV-Cx
 for submit <at> debbugs.gnu.org; Fri, 08 Dec 2023 08:15: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 <ludovic.courtes@HIDDEN>)
 id 1rBagx-0007Q1-F6
 for bug-guix@HIDDEN; Fri, 08 Dec 2023 08:14:55 -0500
Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludovic.courtes@HIDDEN>)
 id 1rBags-0003vt-Qj
 for bug-guix@HIDDEN; Fri, 08 Dec 2023 08:14:55 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc;
 h=from:to:subject:date:message-id:mime-version:
 content-transfer-encoding;
 bh=xSMkcfe1ik4OFihiOGeDNroLUKdJ61A34p59E/WTZXk=;
 b=fOEzz0BbHN7GeAqfBjUW4KzZ7GdbtTnfqJilxhBJmlN9J+7YcQU1qQxW
 v9vFa3FG5xFdq/gOCtep6E7DQQE4D4x/21gxnP4dVV0duhEBHpg8peMdu
 n/gAVunI5gw3DjlAA+SrV8yY7DoDIl6PYhICUjDYU+92mthusfbZn3XNn E=;
Authentication-Results: mail2-relais-roc.national.inria.fr;
 dkim=none (message not signed) header.i=none;
 spf=SoftFail smtp.mailfrom=ludovic.courtes@HIDDEN;
 dmarc=fail (p=none dis=none) d=inria.fr
X-IronPort-AV: E=Sophos;i="6.04,260,1695679200"; d="scan'208";a="141210336"
Received: from unknown (HELO ribbon) ([193.50.110.69])
 by mail2-relais-roc.national.inria.fr with
 ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Dec 2023 14:14:40 +0100
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludovic.courtes@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?reconfigure=E2=80=99?=
 crashes upon host name resolution failure
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Octidi 18 Frimaire an 232 de la =?utf-8?Q?R=C3=A9vol?=
 =?utf-8?Q?ution=2C?= jour du Lierre
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: Fri, 08 Dec 2023 14:14:38 +0100
Message-ID: <871qbwbzup.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=192.134.164.83;
 envelope-from=ludovic.courtes@HIDDEN;
 helo=mail2-relais-roc.national.inria.fr
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
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: -0.0 (/)

On a system where DNS resolution is failing, I get:

--8<---------------cut here---------------start------------->8---
~# guix system reconfigure /etc/config.scm
Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   661:37 18 (thunk)
   1300:8 17 (call-with-build-handler #<procedure 7f93be4bf6c0 at g=E2=80=
=A6> =E2=80=A6)
  2170:25 16 (run-with-store #<store-connection 256.99 7f93bedbc000> =E2=80=
=A6)
In guix/scripts/system.scm:
  1305:15 15 (_ _)
    835:5 14 (perform-action reconfigure #<<image> name: #f format:=E2=80=
=A6> =E2=80=A6)
In guix/scripts/system/reconfigure.scm:
    344:3 13 (check-forward-update _ #:current-channels _)
In srfi/srfi-1.scm:
   691:23 12 (filter-map #<procedure 7f93cd19c920 at guix/scripts=E2=80=A6>=
 . #)
In guix/scripts/system/reconfigure.scm:
   351:39 11 (_ #<<channel> name: guix url: "/home/ludo/src/guix/+ve=E2=80=
=A6>)
In guix/git.scm:
   475:29 10 (update-cached-checkout "https://git.savannah.gnu.org/=E2=80=
=A6" =E2=80=A6)
    376:2  9 (_ git-error #<<git-error> code: -1 message: "failed to=E2=80=
=A6>)
In guix/utils.scm:
    954:8  8 (call-with-temporary-directory #<procedure 7f93c0ab6150=E2=80=
=A6>)
In guix/git.scm:
   378:10  7 (_ "/tmp/guix-directory.DF11Ls")
In guix/swh.scm:
    425:0  6 (swh-download "https://git.savannah.gnu.org/git/guix.g=E2=80=
=A6" =E2=80=A6)
   255:22  5 (call "https://archive.softwareheritage.org/api/1/revi=E2=80=
=A6" =E2=80=A6)
In web/client.scm:
   476:29  4 (http-request "https://archive.softwareheritage.org/ap=E2=80=
=A6" =E2=80=A6)
   332:10  3 (open-socket-for-uri _ #:verify-certificate? _)
In unknown file:
           2 (getaddrinfo "archive.softwareheritage.org" "https" 0 # =E2=80=
=A6)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure getaddrinfo: Nom ou service inconnu
# guix describe
  guix 8e2f32c
    URL du d=C3=A9p=C3=B4t : https://git.savannah.gnu.org/git/guix.git
    branche=E2=80=AF: master
    commit : 8e2f32cee982d42a79e53fc1e9aa7b8ff0514714
--8<---------------cut here---------------end--------------->8---

Not pretty.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludovic.courtes@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#67708; 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: Sun, 12 Jan 2025 05:45:02 UTC

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