From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Alexandrov Newsgroups: gmane.emacs.bugs Subject: bug#41234: 27.0.91; Synchronous network requests are failing with =?UTF-8?Q?=E2=80=9CName?= or service not =?UTF-8?Q?known=E2=80=9D?= Date: Fri, 15 May 2020 16:05:01 +0300 Message-ID: <7dxdbb7m.dag@gnui.org> References: <1rnogg6b.dag@gnui.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="12334"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) To: 41234@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 15 15:16:39 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jZaCd-00037F-Bu for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 15:16:39 +0200 Original-Received: from localhost ([::1]:51880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZaCc-00010P-14 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 09:16:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49978) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZaC3-0000z3-Ey for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 09:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52947) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZaC3-0000oR-3l for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 09:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZaC2-0003rl-Ui for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 09:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Alexandrov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2020 13:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41234 X-GNU-PR-Package: emacs Original-Received: via spool by 41234-submit@debbugs.gnu.org id=B41234.158954852214740 (code B ref 41234); Fri, 15 May 2020 13:16:02 +0000 Original-Received: (at 41234) by debbugs.gnu.org; 15 May 2020 13:15:22 +0000 Original-Received: from localhost ([127.0.0.1]:36233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZaBN-0003pe-4Q for submit@debbugs.gnu.org; Fri, 15 May 2020 09:15:22 -0400 Original-Received: from relay-1.mailobj.net ([213.182.54.6]:33060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZa1g-0003bF-J3 for 41234@debbugs.gnu.org; Fri, 15 May 2020 09:05:21 -0400 Original-Received: from v-2c.localdomain (unknown [192.168.90.162]) by relay-1.mailobj.net (Postfix) with SMTP id 47F7A1377 for <41234@debbugs.gnu.org>; Fri, 15 May 2020 15:05:14 +0200 (CEST) Original-Received: by mail-2.net-c.com [213.182.54.29] with ESMTP Fri, 15 May 2020 15:05:14 +0200 (CEST) X-EA-Auth: 737qUZA/L4lAX16kVg0G3PyZgEpidpwjgRr4w7DJy6LfKq8XBgagsne/U0CBzEjl4q0Jh3XaEH9YFcXuVjyH/htHc0xEzkGO In-Reply-To: <1rnogg6b.dag@gnui.org> (Dmitry Alexandrov's message of "Wed, 13 May 2020 15:42:04 +0300") X-Mailman-Approved-At: Fri, 15 May 2020 09:15:19 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:180327 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable FWIW, strace suggests, that the problematic Emacs process is trying to conn= ect to an outdated nameserver (from a LAN this machine was connected once): =E2=80=A6 openat(AT_FDCWD, "/etc/hosts", O_RDONLY|O_CLOEXEC) =3D 12 lseek(12, 0, SEEK_CUR) =3D 0 fstat(12, {st_mode=3DS_IFREG|0644, st_size=3D184, ...}) =3D 0 read(12, "127.0.0.1\tlocalhost\n127.0.1.1\tno"..., 4096) =3D 184 lseek(12, 0, SEEK_CUR) =3D 184 read(12, "", 4096) =3D 0 close(12) =3D 0 socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) =3D 12 connect(12, {sa_family=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Dinet_ad= dr("192.168.1.1")}, 16) =3D 0 gettimeofday({tv_sec=3D1589546464, tv_usec=3D72520}, NULL) =3D 0 poll([{fd=3D12, events=3DPOLLOUT}], 1, 0) =3D 1 ([{fd=3D12, revents=3DPO= LLOUT}]) sendto(12, "`\t\1\0\0\1\0\0\0\0\0\0\3gnu\3org\0\0\1\0\1", 25, MSG_NOSIGNAL= , NULL, 0) =3D 25 =E2=80=A6 That is, that /etc/resolv.conf had not been reread (there is nothing about = it in the skipped output above), while the instance that is working fine do= check whether /etc/resolv.conf is updated: =E2=80=A6 stat("/etc/resolv.conf", {st_mode=3DS_IFREG|0644, st_size=3D56, ...}) =3D 0 openat(AT_FDCWD, "/etc/hosts", O_RDONLY|O_CLOEXEC) =3D 11 lseek(11, 0, SEEK_CUR) =3D 0 fstat(11, {st_mode=3DS_IFREG|0644, st_size=3D184, ...}) =3D 0 read(11, "127.0.0.1\tlocalhost\n127.0.1.1\tno"..., 4096) =3D 184 lseek(11, 0, SEEK_CUR) =3D 184 read(11, "", 4096) =3D 0 close(11) =3D 0 socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) =3D 11 connect(11, {sa_family=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Dinet_ad= dr("192.168.43.223")}, 16) =3D 0 gettimeofday({tv_sec=3D1589546877, tv_usec=3D860209}, NULL) =3D 0 poll([{fd=3D11, events=3DPOLLOUT}], 1, 0) =3D 1 ([{fd=3D11, revents=3DPO= LLOUT}]) sendmmsg(11, [{msg_hdr=3D{msg_name=3DNULL, msg_namelen=3D0, msg_iov=3D[{io= v_base=3D"\314\255\1\0\0\1\0\0\0\0\0\0\3gnu\3org\0\0\1\0\1", iov_len=3D25}]= , msg_iovlen=3D1, msg_controllen=3D0, msg_flags=3D0}, msg_len=3D25}, {msg_h= dr=3D{msg_name=3DNULL, msg_namelen=3D0, msg_iov=3D[{iov_base=3D"\10\270\1\0= \0\1\0\0\0\0\0\0\3gnu\3org\0\0\34\0\1", iov_len=3D25}], msg_iovlen=3D1, msg= _controllen=3D0, msg_flags=3D0}, msg_len=3D25}], 2, MSG_NOSIGNAL) =3D 2 =E2=80=A6 How should I interpret this? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXr6TfQ0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnS0oBAMjkjJKJ4oh3qieatL/QNFMJWAi80LJVwHse4pVl vKPkAP9hFmNzItSK1dfGzoo0BtlU+/BvjS3IREL88vvidlzKAw== =U5AT -----END PGP SIGNATURE----- --=-=-=--