From unknown Sat Jun 21 10:29:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41234 <41234@debbugs.gnu.org> To: bug#41234 <41234@debbugs.gnu.org> Subject: Status: 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?= Reply-To: bug#41234 <41234@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:29:54 +0000 retitle 41234 27.0.91; Synchronous network requests are failing with =E2=80= =9CName or service not known=E2=80=9D reassign 41234 emacs submitter 41234 Dmitry Alexandrov severity 41234 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 13 11:00:24 2020 Received: (at submit) by debbugs.gnu.org; 13 May 2020 15:00:24 +0000 Received: from localhost ([127.0.0.1]:59079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYsrw-0005Ab-8C for submit@debbugs.gnu.org; Wed, 13 May 2020 11:00:24 -0400 Received: from lists.gnu.org ([209.51.188.17]:35028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jYqiE-0007ee-NE for submit@debbugs.gnu.org; Wed, 13 May 2020 08:42:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYqiE-0005L1-HA for bug-gnu-emacs@gnu.org; Wed, 13 May 2020 08:42:14 -0400 Received: from relay-1.mailobj.net ([213.182.54.6]:54246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYqiD-0007Cy-B7 for bug-gnu-emacs@gnu.org; Wed, 13 May 2020 08:42:14 -0400 Received: from v-1c.localdomain (unknown [192.168.90.161]) by relay-1.mailobj.net (Postfix) with SMTP id 36625122C for ; Wed, 13 May 2020 14:42:08 +0200 (CEST) Received: by mail-1.net-c.com [213.182.54.15] with ESMTP Wed, 13 May 2020 14:42:08 +0200 (CEST) X-EA-Auth: y83RzUv+lYDEroMKFGAQHUL9oXXg0Gl7v+SOsCjbF9nSh6HF/rTW1r3BsU9jIR9tsCKxHUqpmorP8kX6YiJWd6eQQF57F+FC From: Dmitry Alexandrov To: bug-gnu-emacs@gnu.org Subject: 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?= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Date: Wed, 13 May 2020 15:42:04 +0300 Message-ID: <1rnogg6b.dag@gnui.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=213.182.54.6; envelope-from=dag@gnui.org; helo=relay-1.mailobj.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/13 08:42:08 X-ACL-Warn: Detected OS = Linux 3.1-3.10 X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 13 May 2020 11:00:22 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Dear maintainers, I=CA=BCm not sure whether that a bugreport or a support request, I hope you= will excuse me for opting for the former. Basically, I have an instance of Emacs 27 =E2=80=94 rev. aea1b4db72 =E2=80= =94 a head of emacs-27 from about two weeks ago, which, have been running f= or that time, is failing to resolve any remote hostname synchronously (whic= h, for instance, Gnus normally does), while asynchronous requests (as in = =E2=80=98url-retrieve=E2=80=99) are still working fine. A newly started instance of the same Emacs does not demonstrate the issue. = And alas, despite being almost convinced, that I had already met this prob= lem before, I cannot say how exactly to reproduce it. However, I suppose, the fact, that this is by no means a pristine configura= tion is not much relevant, since the error goes down to C sources, namely t= o =E2=80=98make-network-process=E2=80=99: (make-network-process :name " *net-test*" :buffer (get-buffer-create " *net-test*") :host "gnu.org" :service 80 :nowait nil) ;; Debugger entered--Lisp error: (error "gnu.org/80 Name or service not kn= own") More specifically, a call to getaddrinfo() in =E2=80=98network_lookup_addre= ss_info_1=E2=80=99 returns EAI_NONAME. Could it be a problem in GNU Emacs, or have I broken my system somehow? =2D-=20 In GNU Emacs 27.0.91 (build 2, x86_64-pc-linux-gnu) of 2020-04-30 built on nora Repository revision: aea1b4db72df92595a3f642d18bf57254d74772b Repository branch: emacs-27-nightly System Description: Debian GNU/Linux 10 (buster) Configured using: 'configure --with-x-toolkit=3Dno' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL= LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB OLDXM= ENU X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER LCMS2 GMP --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYIACsWIQRSX35grYEsI2F1K7TIsPhUjufz5wUCXrvrHA0cZGFnQGdudWku b3JnAAoJEMiw+FSO5/PnsgYBAISzaCFDQDSdIMaOPAPpvQEKOrKjM84tdH0d1pWM ehiRAP9ha64nUuN1DCIkf9TLbqYM2STRtIqxud2A7S6mHWNTBA== =tRwe -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri May 15 09:15:22 2020 Received: (at 41234) by debbugs.gnu.org; 15 May 2020 13:15:22 +0000 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 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 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) 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 From: Dmitry Alexandrov To: 41234@debbugs.gnu.org Subject: Re: 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?= In-Reply-To: <1rnogg6b.dag@gnui.org> (Dmitry Alexandrov's message of "Wed, 13 May 2020 15:42:04 +0300") References: <1rnogg6b.dag@gnui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Date: Fri, 15 May 2020 16:05:01 +0300 Message-ID: <7dxdbb7m.dag@gnui.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41234 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 02 16:51:20 2020 Received: (at 41234) by debbugs.gnu.org; 2 Jul 2020 20:51:20 +0000 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 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 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) 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 From: Dmitry Alexandrov To: 41234@debbugs.gnu.org Subject: Re: 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?= In-Reply-To: <7dxdbb7m.dag@gnui.org> (Dmitry Alexandrov's message of "Fri, 15 May 2020 16:05:01 +0300") References: <1rnogg6b.dag@gnui.org> <7dxdbb7m.dag@gnui.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) OpenPGP: id=525F7E60AD812C2361752BB4C8B0F8548EE7F3E7; url=https://openpgpkey.gnui.org/.well-known/openpgpkey/gnui.org/hu/hr4k5tkxm6shwdc18su4bkm34w3dctjd Mail-Copies-To: always Date: Thu, 02 Jul 2020 23:50:39 +0300 Message-ID: <5zb54p5s.dag@gnui.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41234 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= 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----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 20 06:53:29 2020 Received: (at 41234) by debbugs.gnu.org; 20 Jul 2020 10:53:29 +0000 Received: from localhost ([127.0.0.1]:33984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxTQH-00015j-AG for submit@debbugs.gnu.org; Mon, 20 Jul 2020 06:53:29 -0400 Received: from quimby.gnus.org ([95.216.78.240]:44012) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxTQF-00015T-Qb for 41234@debbugs.gnu.org; Mon, 20 Jul 2020 06:53:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PVfJcZcRHbgXI26pN223Guug9142MK9zjg2oJfUka30=; b=mLhVUUIJhofi9Bim2+RbDO2qAq lGu9QV/SmNOTDeW7pNLf3iOTrBn6uKL6urRq+A7CDg31fHShXYkRtpUKvHTXqhrkSnnJaKqCgPOrd 0hRweG9EQl+bD8eENNgg+xiXlCrhDbQcyLKOeGX4DEFAq5JNI0h2sf6H4HTY6B5Q+bIc=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jxTQ2-0007jd-Qh; Mon, 20 Jul 2020 12:53:21 +0200 From: Lars Ingebrigtsen To: Dmitry Alexandrov Subject: Re: 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?= References: <1rnogg6b.dag@gnui.org> Date: Mon, 20 Jul 2020 12:53:12 +0200 In-Reply-To: <1rnogg6b.dag@gnui.org> (Dmitry Alexandrov's message of "Wed, 13 May 2020 15:42:04 +0300") Message-ID: <87y2neh2zr.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dmitry Alexandrov writes: > (make-network-process :name " *net-test*" > :buffer (get-buffer-create " *net-test*") > :host "gnu.org" :service 80 > :nowait nil) > ; ; Debugger entered--Lisp error: (error "gnu.org/80 Name or servi [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41234 Cc: 41234@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dmitry Alexandrov writes: > (make-network-process :name " *net-test*" > :buffer (get-buffer-create " *net-test*") > :host "gnu.org" :service 80 > :nowait nil) > ;; Debugger entered--Lisp error: (error "gnu.org/80 Name or service not = known") > > More specifically, a call to getaddrinfo() in =E2=80=98network_lookup_add= ress_info_1=E2=80=99 returns EAI_NONAME. > > Could it be a problem in GNU Emacs, or have I broken my system somehow? Dmitry Alexandrov writes: > FWIW, strace suggests, that the problematic Emacs process is trying to > connect to an outdated nameserver (from a LAN this machine was > connected once): [...] > 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: Hm... since the async lookups work, I guess this means that getaddrinfo_a works, but getaddrinfo doesn't? Which is very odd -- both functions are supposed to update the name server etc in the same way, I think? So I'm not sure how this can be an Emacs bug -- as far as I know, there's no way for libc clients to say "update all the DNS stuff now"; it's supposed to happen automatically when you call getaddrinfo. (If I'm wrong, somebody please correct me.) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 29 01:37:34 2020 Received: (at control) by debbugs.gnu.org; 29 Jul 2020 05:37:34 +0000 Received: from localhost ([127.0.0.1]:59787 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0emT-0005lE-TB for submit@debbugs.gnu.org; Wed, 29 Jul 2020 01:37:34 -0400 Received: from quimby.gnus.org ([95.216.78.240]:42122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k0emR-0005l1-36 for control@debbugs.gnu.org; Wed, 29 Jul 2020 01:37:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WESvKDLePbv4qRpFXGmOTBU4CJdMf5kg2DFyeRAavqk=; b=TY+ldxqoc3Q8AuchJ15JdOCdf0 6A1B2q5Ao2Fw12duCEgGmcd/ZC8E4woGbkmxeGCS1NcAJYV9J6XVb/YWzxPYAHp0ynFawPjMkvICF j3PjhA6THFUH6Zwxiv12oxC4612zMFQDOb2rNw6F4B9w+2ajnU2l5d5gs+XznY1wOAMg=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k0emJ-0002c9-A6 for control@debbugs.gnu.org; Wed, 29 Jul 2020 07:37:25 +0200 Date: Wed, 29 Jul 2020 07:37:22 +0200 Message-Id: <87365a3mr1.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41234 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: forcemerge 41234 40748 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) forcemerge 41234 40748 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 14 10:02:17 2021 Received: (at 41234) by debbugs.gnu.org; 14 Jun 2021 14:02:17 +0000 Received: from localhost ([127.0.0.1]:47278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsnAP-0003BV-8Q for submit@debbugs.gnu.org; Mon, 14 Jun 2021 10:02:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsnAN-00035r-AL; Mon, 14 Jun 2021 10:02:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Ae7QFlPgP/fUAiQpJF9JU2XL1hxK0pEin51ewVWrGF8=; b=PGIB7m6aZDLfSwGBM9sEKAgk4M B5FJmJ7svC1e68TRtqh0N7MfAjPKFSAz3NY9obJSwUvmclY91zt9vG5gK00OpVOqRQyyje7CxnsS8 68jiz2FbNQCCPqyn11Elx1WmzXKkJoFqc0j1fNSi0058spuuaDCSHwrVnfLCnPGZi7Qo=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsnAB-0001Vf-FQ; Mon, 14 Jun 2021 16:02:09 +0200 From: Lars Ingebrigtsen To: Dmitry Alexandrov Subject: Re: bug#40748: 28.0.50; Switching wifi networks hangs dns lookups References: <1rnogg6b.dag@gnui.org> <87y2neh2zr.fsf@gnus.org> X-Now-Playing: 75 Dollar Bill's _I Was Real_: "I Was Real" Date: Mon, 14 Jun 2021 16:02:02 +0200 In-Reply-To: <87y2neh2zr.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 20 Jul 2020 12:53:12 +0200") Message-ID: <87wnqwy279.fsf_-_@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > So I'm not sure how this can be an Emacs bug -- as far as I know, > there's no way for libc clients to say "update all the DNS stuff now"; > it's supposed to happen automatically when you call getad [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41234 Cc: 40748@debbugs.gnu.org, 41234@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Lars Ingebrigtsen writes: > So I'm not sure how this can be an Emacs bug -- as far as I know, > there's no way for libc clients to say "update all the DNS stuff now"; > it's supposed to happen automatically when you call getaddrinfo. (If > I'm wrong, somebody please correct me.) This was almost a year ago -- does anybody have any further input here? If not, I'm not sure there's anything we can do from the Emacs side here... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 23 17:09:57 2021 Received: (at 41234) by debbugs.gnu.org; 23 Dec 2021 22:09:57 +0000 Received: from localhost ([127.0.0.1]:35074 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0WHd-0008Gt-DJ for submit@debbugs.gnu.org; Thu, 23 Dec 2021 17:09:57 -0500 Received: from mail.ericabrahamsen.net ([52.70.2.18]:46224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0WHb-0008Gc-QA; Thu, 23 Dec 2021 17:09:56 -0500 Received: from localhost (c-71-197-232-41.hsd1.wa.comcast.net [71.197.232.41]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 4BA23FA02D; Thu, 23 Dec 2021 22:09:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1640297389; bh=NpW/EWxODJblpcUUkl2+7LzcrmSl+Q7Ek4ycFcOgyik=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Q3vsbHb3+dSPfjUrp73U4VW7wqdxlZBsmar82AqXm/xMgQJmYZQc6jydY+xbmNTOo T8c04u+hcXQeeF9VZytuWr+RBV6uTBDWi836um9mH3i9Mx0hUEZ533IDJA3ea8xnwY fnkNWyCrglKHYoLZee8AydLUed1gV+pWwLyUYPXU= From: Eric Abrahamsen To: Lars Ingebrigtsen Subject: Re: bug#40748: 28.0.50; Switching wifi networks hangs dns lookups References: <1rnogg6b.dag@gnui.org> <87y2neh2zr.fsf@gnus.org> <87wnqwy279.fsf_-_@gnus.org> Date: Thu, 23 Dec 2021 14:09:48 -0800 In-Reply-To: <87wnqwy279.fsf_-_@gnus.org> (Lars Ingebrigtsen's message of "Mon, 14 Jun 2021 16:02:02 +0200") Message-ID: <8735mj0y8j.fsf@ericabrahamsen.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41234 Cc: 40748@debbugs.gnu.org, Dmitry Alexandrov , 41234@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Lars Ingebrigtsen writes: > >> So I'm not sure how this can be an Emacs bug -- as far as I know, >> there's no way for libc clients to say "update all the DNS stuff now"; >> it's supposed to happen automatically when you call getaddrinfo. (If >> I'm wrong, somebody please correct me.) > > This was almost a year ago -- does anybody have any further input here? > If not, I'm not sure there's anything we can do from the Emacs side > here... I do not, and it doesn't seem to be happening any more! My bug can be closed, but I'm not sure about 41234, which it's been merged with. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 04:12:09 2021 Received: (at 41234) by debbugs.gnu.org; 24 Dec 2021 09:12:09 +0000 Received: from localhost ([127.0.0.1]:35650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0gcT-00068X-0r for submit@debbugs.gnu.org; Fri, 24 Dec 2021 04:12:09 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0gcR-00067x-2A; Fri, 24 Dec 2021 04:12:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=h8i9zr2qWX2Gf9FuD1nwMQNMXD5tgC5YBOJVh4VmpY8=; b=fgezFEEKgI5ZxV2Y6pcAc5PzZn 1BovnC5Qn2prxdi/ncFH9jvYxjRo34BoGz6Wjs8f4Im81vI+LAFrxmRhUxBJDRPehlXslcUPvv6Tf VDyH6BiAp45cnfziAIzYYCnttUxdzDYtWPekCCTS12JzKeVEBfGYfMepUWqDv5A3byjo=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n0gcI-0001zt-HL; Fri, 24 Dec 2021 10:12:01 +0100 From: Lars Ingebrigtsen To: Eric Abrahamsen Subject: Re: bug#40748: 28.0.50; Switching wifi networks hangs dns lookups References: <1rnogg6b.dag@gnui.org> <87y2neh2zr.fsf@gnus.org> <87wnqwy279.fsf_-_@gnus.org> <8735mj0y8j.fsf@ericabrahamsen.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVBR1MTEhVTn+s/ Z52/r6z///8nA0HJAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UMGAkCD3dY9nwAAAGoSURBVDjLbZOB dYMwDESlmgGs0AFaOwMY3AFc4v1nqk4yAZLCSx74c6eTMMQSM4sIfpGII4kQk+ASIHYQquNYFwo8 b7rWezdAFAg/pspzYvlUwCdFXYgkVpFJQXOFH0wUuehKH16WgREA1BXqFXGtwUyhZgMsEiMz/Kpb wmJqMBEAtGNHwYpoCPYiFq08wWT/+rRYJ9aLg0bdbfgMIqH8L7wUFAMVoLd+AlohOIi9nRQorZHN avpViKGgYwdUDDTZh2IgVNJKdjvtIABo66GiiM6S6ADVZnJvFn9yRaxhgLk/bCLkxQ8Q7g8Z80W1 +QQ2a711miDYQa59kzHADsEOUiplgOkF5GUXABR6gpSRqrCDlA+gbj/oG3FnPHiAlG0iXeLNbi3V apeLS+gjDULJybdLmj+mBEOua01f0UAY6/fsb1yV9j76Y1ckEnm2BzC/g+jbYX0Hvh1uB/ANJ2yS OL8pyED9x8rKb7a6XoB5Gch6HkBrQbKaYD0DssQQvAFI1CvnSw2tDsmG0V5S4ZuiPdYFUNTPZ0uZ 1pc+sH+19kNeAOHEmr/tP8Z4f61SELGbAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTEyLTI0VDA5 OjAyOjE1KzAwOjAwF5gWKQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMi0yNFQwOTowMjoxNSsw MDowMGbFrpUAAAAASUVORK5CYII= X-Now-Playing: James Taylor's _Sweet Baby James_: "Steamroller" Date: Fri, 24 Dec 2021 10:11:54 +0100 In-Reply-To: <8735mj0y8j.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 23 Dec 2021 14:09:48 -0800") Message-ID: <87a6gq4bad.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eric Abrahamsen writes: > I do not, and it doesn't seem to be happening any more! My bug can be > closed, but I'm not sure about 41234, which it's been merged with. I think that bug report points to a problem somewhere else in the OS and not in Emacs, so I'm closing this bug report. If this is wrong, please respond to the debbugs address and we'll reopen. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 41234 Cc: 40748@debbugs.gnu.org, Dmitry Alexandrov , 41234@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Eric Abrahamsen writes: > I do not, and it doesn't seem to be happening any more! My bug can be > closed, but I'm not sure about 41234, which it's been merged with. I think that bug report points to a problem somewhere else in the OS and not in Emacs, so I'm closing this bug report. If this is wrong, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 24 04:12:39 2021 Received: (at control) by debbugs.gnu.org; 24 Dec 2021 09:12:40 +0000 Received: from localhost ([127.0.0.1]:35655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0gcx-00069U-HL for submit@debbugs.gnu.org; Fri, 24 Dec 2021 04:12:39 -0500 Received: from quimby.gnus.org ([95.216.78.240]:40236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0gci-000691-3D for control@debbugs.gnu.org; Fri, 24 Dec 2021 04:12:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZJIngyRn5ElZfDkg2esITQxOCxy7BrwLnDBOJJBDtvU=; b=RzhajH2qnrU3r+mFswrDKSbaMH WtIL02R9mIIXeLycd911wbOyiwf0qERRlrkwQl2mv+x3kxFpbEc507wtqM/vuSeNzfrFaaw4OUwHY evuUknXHdGcBtRTNIigEsLHe9veNwzMN4N8a73iDFfBkJbq0F84axs6AcW7KOzLbjVNM=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n0gca-00020F-6F for control@debbugs.gnu.org; Fri, 24 Dec 2021 10:12:18 +0100 Date: Fri, 24 Dec 2021 10:12:14 +0100 Message-Id: <878rwa4b9t.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #40748 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 40748 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 40748 quit From unknown Sat Jun 21 10:29:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 21 Jan 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator