From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id h1K6GeRHcV/4XwAA0tVLHw (envelope-from ) for ; Mon, 28 Sep 2020 02:18:12 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kLKEFeRHcV8fJAAA1q6Kng (envelope-from ) for ; Mon, 28 Sep 2020 02:18:12 +0000 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 A181E9402A2 for ; Mon, 28 Sep 2020 02:18:11 +0000 (UTC) Received: from localhost ([::1]:52724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMijx-0002BG-RN for larch@yhetil.org; Sun, 27 Sep 2020 22:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMijr-0002B6-00 for bug-guix@gnu.org; Sun, 27 Sep 2020 22:18:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39287) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMijq-0001MH-NO for bug-guix@gnu.org; Sun, 27 Sep 2020 22:18:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMijq-0007UN-IO for bug-guix@gnu.org; Sun, 27 Sep 2020 22:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43662: 'guix refresh' can hang during interactions with FTP servers Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 28 Sep 2020 02:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43662 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43662@debbugs.gnu.org X-Debbugs-Original-To: bug-guix Received: via spool by submit@debbugs.gnu.org id=B.160125944728738 (code B ref -1); Mon, 28 Sep 2020 02:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Sep 2020 02:17:27 +0000 Received: from localhost ([127.0.0.1]:50833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMijG-0007TR-NU for submit@debbugs.gnu.org; Sun, 27 Sep 2020 22:17:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:47382) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMijF-0007TK-3Y for submit@debbugs.gnu.org; Sun, 27 Sep 2020 22:17:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMijE-000299-Tu for bug-guix@gnu.org; Sun, 27 Sep 2020 22:17:24 -0400 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:42698) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMijC-0001KH-Nv for bug-guix@gnu.org; Sun, 27 Sep 2020 22:17:24 -0400 Received: by mail-qt1-x82a.google.com with SMTP id y11so7051588qtn.9 for ; Sun, 27 Sep 2020 19:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=1uuxfj17vdl3m41aYzO61xRZgfRuBWXHQ/+cgIVk49Y=; b=U0hY5E6zQX4j125uyOOjOZiNUiEbN4yeYOQR73peBgH9KEsBBqyVvp58BG0AeSK7c9 fB82eqnL6x8y4yf8cXYBPOcmjOLBxOuha2pB9PmuGGZLD6Y3nacbyyJ+uGPi7OsBY80q +nKikInyjfK0t6w04mXWEVVPGTI2AXbXtuYlKFPcxM9CJgvbIKK25hXZcNA1y+zRBnRR riKbK4VgxNZPDgk4niRoPCsfxBenEvBafSpPLXTrH9xjlEmzDPUmtDNJgcLyGyLJCAqX roxHelQvC4sY1tQavxKvxdUcUQEttYJPezVKgKARU9hPcDd8+TQ9UEK7YWZzY+LOYbaU s8lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=1uuxfj17vdl3m41aYzO61xRZgfRuBWXHQ/+cgIVk49Y=; b=Q0aSvi+otjA+z3m5ZLbmshqHCzEoVPb0uyJMTf1xbV3R2GTBrnroNo4BUE2l7Xe896 FKwTLeC8r1WrhsQxaUGdrjqexsiGOM2dMJEmJ4p55ckR/xCqxaTGqFrIRlgmOkOCP6du KoK8x08xStM1perJfVy/uDuf6Z7wQKnOqoOP2MoziHfvGU+7tD8lgR380E+pgrcWA8lj 7V8x7GzEGCB8zQTklg5WuG06FTaRR3N8QI9DFg9usNm2iiAcXzPAxKSouILCH5dQTZQw jmnhF9prGPVaOWaDfMLNvLMzC+BF7pqvwc8W4gN7snCZnpfJjfvSRdzWE7ZAp6Jnjv7G EU/Q== X-Gm-Message-State: AOAM531CxhvLHfZ9cnrCUUVMbxqhfW3IgS9Gf8DcY+4iPC9hbKZ98S/z CMMZv5yhLLBiIyUMkuiP9UkAq7IVk9Nm2Q== X-Google-Smtp-Source: ABdhPJxsAFXr++7E790boKEvw85TlPC5OWuyqkSU6Nwtk0DabTwRufBHZNFGMJQyRguYwGTj5/F0OQ== X-Received: by 2002:ac8:2c78:: with SMTP id e53mr10712404qta.298.1601259441352; Sun, 27 Sep 2020 19:17:21 -0700 (PDT) Received: from hurd (dsl-149-200.b2b2c.ca. [66.158.149.200]) by smtp.gmail.com with ESMTPSA id o13sm7653850qkm.16.2020.09.27.19.17.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Sep 2020 19:17:20 -0700 (PDT) From: Maxim Cournoyer Date: Sun, 27 Sep 2020 22:18:48 -0400 Message-ID: <87h7rir6d3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::82a; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x82a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=U0hY5E6z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: TIYGjUS4WDxS Hello, Running 'guix refresh gnutls' on master hangs, with no output. Strace suggests that the hang originates from the code attempting to fetch what's in the GNU FTP server: [pid 19343] close(17) = 0 [pid 19343] socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) = 17 [pid 19343] connect(17, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = 0 [pid 19343] sendto(17, "\2\0\0\0\16\0\0\0\17\0\0\0ftp.gnutls.org\0", 27, MSG_NOSIGNAL, NULL, 0) = 27 [pid 19343] poll([{fd=17, events=POLLIN|POLLERR|POLLHUP}], 1, 5000) = 1 ([{fd=17, revents=POLLIN}]) [pid 19343] read(17, "\2\0\0\0\1\0\0\0\1\0\0\0\4\0\0\0\16\0\0\0\0\0\0\0", 24) = 24 [pid 19343] read(17, "\331EL7\2ftp.gnupg.org\0", 19) = 19 [pid 19343] close(17) = 0 [pid 19343] socket(AF_INET, SOCK_STREAM, IPPROTO_IP) = 17 [pid 19343] connect(17, {sa_family=AF_INET, sin_port=htons(21), sin_addr=inet_addr("217.69.76.55")}, 16) = 0 [pid 19343] fstat(17, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 [pid 19343] read(17, "220-Welcome hacker!\r\n", 4096) = 21 [pid 19343] read(17, "220-.\r\n220-This is the FTP server of the GnuPG project. If you are looking for\r\n220-GnuPG change to the \"gcrypt\" directory. Please send problem reports\r\n220-to ftpmaster@gnupg.org after having checked the gnupg-users archives\r\n220-at https://lists.gnupg.org/pipermail/gnupg-users/ for known problems."..., 4096) = 680 [pid 19343] write(17, "USER anonymous\r\n", 16) = 16 [pid 19343] read(17, "331 Send e-mail address as password.\r\n", 4096) = 38 [pid 19343] write(17, "PASS guix@example.com\r\n", 23) = 23 [pid 19343] read(17, "230 User logged in, proceed.\r\n", 4096) = 30 [pid 19343] write(17, "CWD /\r\n", 7) = 7 [pid 19343] read(17, "250 Directory change successful.\r\n", 4096) = 34 [pid 19343] write(17, "CWD gcrypt\r\n", 12) = 12 [pid 19343] read(17, "250-This directory is used as FTP site for GNU crypto software and\r\n250-related stuff.\r\n250-.\r\n250-US laws place restrictions on the export of defense articles, which\r\n250-includes some types of cryptographic software; this is the reason\r\n250-that such software is not available from ftp.gnu.org. It is"..., 4096) = 1106 [pid 19343] write(17, "CWD gnutls\r\n", 12) = 12 [pid 19343] read(17, "250-More information on GnuTLS can be found at http://www.gnutls.org/\r\n250 Directory change successful.\r\n", 4096) = 105 [pid 19343] write(17, "PASV\r\n", 6) = 6 [pid 19343] read(17, Maxim