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 EAEjF9cie1/NFwAA0tVLHw (envelope-from ) for ; Mon, 05 Oct 2020 13:42:47 +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 YFQkE9cie18mJwAA1q6Kng (envelope-from ) for ; Mon, 05 Oct 2020 13:42:47 +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 DDB659404C5 for ; Mon, 5 Oct 2020 13:42:46 +0000 (UTC) Received: from localhost ([::1]:60902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPQlJ-0006TN-FK for larch@yhetil.org; Mon, 05 Oct 2020 09:42:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPQkb-0006KK-VB for bug-guix@gnu.org; Mon, 05 Oct 2020 09:42:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPQkb-000772-M9 for bug-guix@gnu.org; Mon, 05 Oct 2020 09:42:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kPQkb-0004Ib-KT for bug-guix@gnu.org; Mon, 05 Oct 2020 09:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43662: 'guix refresh' can hang during interactions with FTP servers Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Oct 2020 13:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43662 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 43662-submit@debbugs.gnu.org id=B43662.160190532016518 (code B ref 43662); Mon, 05 Oct 2020 13:42:01 +0000 Received: (at 43662) by debbugs.gnu.org; 5 Oct 2020 13:42:00 +0000 Received: from localhost ([127.0.0.1]:48352 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPQka-0004IM-1c for submit@debbugs.gnu.org; Mon, 05 Oct 2020 09:42:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kPQkX-0004I8-9h for 43662@debbugs.gnu.org; Mon, 05 Oct 2020 09:41:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58892) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPQkS-00076c-11; Mon, 05 Oct 2020 09:41:52 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=35298 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kPQkR-0000j4-BR; Mon, 05 Oct 2020 09:41:51 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h7rir6d3.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?UTF-8?Q?Vend=C3=A9miaire?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= 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: Mon, 05 Oct 2020 15:41:50 +0200 In-Reply-To: <87h7rir6d3.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 27 Sep 2020 22:18:48 -0400") Message-ID: <875z7ozt5t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 43662@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -1.51 X-TUID: KnqJuxzXDLW/ Hi, Maxim Cournoyer skribis: > [pid 19343] connect(17, {sa_family=3DAF_INET, sin_port=3Dhtons(21), sin_a= ddr=3Dinet_addr("217.69.76.55")}, 16) =3D 0 > [pid 19343] fstat(17, {st_mode=3DS_IFSOCK|0777, st_size=3D0, ...}) =3D 0 > [pid 19343] read(17, "220-Welcome hacker!\r\n", 4096) =3D 21 > [pid 19343] read(17, "220-.\r\n220-This is the FTP server of the GnuPG pr= oject. If you are looking for\r\n220-GnuPG change to the \"gcrypt\" direct= ory. Please send problem reports\r\n220-to ftpmaster@gnupg.org after havin= g checked the gnupg-users archives\r\n220-at https://lists.gnupg.org/piperm= ail/gnupg-users/ for known problems."..., 4096) =3D 680 > [pid 19343] write(17, "USER anonymous\r\n", 16) =3D 16 > [pid 19343] read(17, "331 Send e-mail address as password.\r\n", 4096) = =3D 38 > [pid 19343] write(17, "PASS guix@example.com\r\n", 23) =3D 23 > [pid 19343] read(17, "230 User logged in, proceed.\r\n", 4096) =3D 30 > [pid 19343] write(17, "CWD /\r\n", 7) =3D 7 > [pid 19343] read(17, "250 Directory change successful.\r\n", 4096) =3D 34 > [pid 19343] write(17, "CWD gcrypt\r\n", 12) =3D 12 > [pid 19343] read(17, "250-This directory is used as FTP site for GNU cryp= to software and\r\n250-related stuff.\r\n250-.\r\n250-US laws place restric= tions on the export of defense articles, which\r\n250-includes some types o= f cryptographic software; this is the reason\r\n250-that such software is n= ot available from ftp.gnu.org. It is"..., 4096) =3D 1106 > [pid 19343] write(17, "CWD gnutls\r\n", 12) =3D 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) =3D 105 > [pid 19343] write(17, "PASV\r\n", 6) =3D 6 > [pid 19343] read(17, It=E2=80=99s a bug in (guix ftp-client), not specifically in =E2=80=98guix = refresh=E2=80=99. Now, we could work around it by arranging to use the HTTPS updater instead of =E2=80=98gnu-ftp=E2=80=99 for packages hosted at gnupg.org. Thanks, Ludo=E2=80=99.