From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!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: Thu, 02 Jul 2020 23:50:39 +0300 Message-ID: <5zb54p5s.dag@gnui.org> References: <1rnogg6b.dag@gnui.org> <7dxdbb7m.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="blaine.gmane.org:116.202.254.214"; logging-data="16401"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 41234@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 02 22:58:35 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 1jr6Hz-0004Ak-7D for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jul 2020 22:58:35 +0200 Original-Received: from localhost ([::1]:35548 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jr6Hx-0002sA-Pn for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Jul 2020 16:58:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jr6Be-0000rZ-Ex for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2020 16:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44230) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jr6Bd-00042t-OV for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2020 16:52:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jr6Bd-0001MU-N8 for bug-gnu-emacs@gnu.org; Thu, 02 Jul 2020 16:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Alexandrov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Jul 2020 20:52:01 +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.15937230805181 (code B ref 41234); Thu, 02 Jul 2020 20:52:01 +0000 Original-Received: (at 41234) by debbugs.gnu.org; 2 Jul 2020 20:51:20 +0000 Original-Received: from localhost ([127.0.0.1]:55774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jr6Ay-0001LU-6J for submit@debbugs.gnu.org; Thu, 02 Jul 2020 16:51:20 -0400 Original-Received: from relay-2.mailobj.net ([213.182.54.5]:56228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jr6At-0001L8-7C; Thu, 02 Jul 2020 16:51:19 -0400 Original-Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-2.mailobj.net (Postfix) with SMTP id D87DB1330; Thu, 2 Jul 2020 22:51:08 +0200 (CEST) Original-Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Thu, 2 Jul 2020 22:51:08 +0200 (CEST) X-EA-Auth: /M6Nn1pKZGGffzEv7xw1/zwMQVAAuiEX6pA7qBPAnFcXBZYD77yFQLIZ1H4j2cDHozP4vI4S5PRgaPAWnY2GUI+Ke0wizqMc In-Reply-To: <7dxdbb7m.dag@gnui.org> (Dmitry Alexandrov's message of "Fri, 15 May 2020 16:05:01 +0300") OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always 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:182651 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable found 41234 28.0.50 thanks Dmitry Alexandrov wrote: > FWIW, strace suggests, that the problematic Emacs process is trying to co= nnect to an outdated nameserver (from a LAN this machine was connected once= ): > That is, that /etc/resolv.conf had not been reread... Heh. Emacs is able to lost running nscd(8) and fall back to outdated names= erver as well: =E2=80=A6 openat(AT_FDCWD, "/etc/hosts", O_RDONLY|O_CLOEXEC) =3D 7 lseek(7, 0, SEEK_CUR) =3D 0 fstat(7, {st_mode=3DS_IFREG|0644, st_size=3D184, ...}) =3D 0 read(7, "127.0.0.1\tlocalhost\n127.0.1.1\tno"..., 4096) =3D 184 lseek(7, 0, SEEK_CUR) =3D 184 read(7, "", 4096) =3D 0 close(7) =3D 0 socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, IPPROTO_IP) =3D 7 connect(7, {sa_family=3DAF_INET, sin_port=3Dhtons(53), sin_addr=3Dinet_add= r("192.168.43.245")}, 16) =3D 0 gettimeofday({tv_sec=3D1593704775, tv_usec=3D183050}, NULL) =3D 0 poll([{fd=3D7, events=3DPOLLOUT}], 1, 0) =3D 1 ([{fd=3D7, revents=3DPOL= LOUT}]) sendto(7, "\254o\1\0\0\1\0\0\0\0\0\0\3gnu\3org\0\0\1\0\1", 25, MSG_NOSIGNA= L, NULL, 0) =3D 25 =E2=80=A6 =E2=80=94 that=CA=BCs instead of: =E2=80=A6 socket(AF_UNIX, SOCK_STREAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0) =3D 10 connect(10, {sa_family=3DAF_UNIX, sun_path=3D"/var/run/nscd/socket"}, 110)= =3D 0 sendto(10, "\2\0\0\0\16\0\0\0\t\0\0\0gnus.org\0", 21, MSG_NOSIGNAL, NULL, = 0) =3D 21 =E2=80=A6 in a freshly started Emacs instance. Perhaps, I have to try another workaround. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXv5Inw0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnNhwA+wb/UtX/g6SanuY6rFdtR0szmUyRmYtFQBdBjkLq 7m2GAP0f9rkeWzpwgsc4jfEqZl390FdETaVN5I+oUkc6fbCYAQ== =Cnio -----END PGP SIGNATURE----- --=-=-=--