From unknown Fri Aug 15 02:04:03 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#18142 <18142@debbugs.gnu.org> To: bug#18142 <18142@debbugs.gnu.org> Subject: Status: Emacs starts slowly in case of wrong hostname (/etc/hosts) Reply-To: bug#18142 <18142@debbugs.gnu.org> Date: Fri, 15 Aug 2025 09:04:03 +0000 retitle 18142 Emacs starts slowly in case of wrong hostname (/etc/hosts) reassign 18142 emacs submitter 18142 Petr Hracek severity 18142 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 29 03:22:27 2014 Received: (at submit) by debbugs.gnu.org; 29 Jul 2014 07:22:27 +0000 Received: from localhost ([127.0.0.1]:41574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XC1jv-0006Rf-6W for submit@debbugs.gnu.org; Tue, 29 Jul 2014 03:22:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35902) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XC1jr-0006RQ-4S for submit@debbugs.gnu.org; Tue, 29 Jul 2014 03:22:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC1jc-0007ZA-S6 for submit@debbugs.gnu.org; Tue, 29 Jul 2014 03:22:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:53363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC1jc-0007Z6-Ox for submit@debbugs.gnu.org; Tue, 29 Jul 2014 03:22:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC1jW-0004R0-Ja for bug-gnu-emacs@gnu.org; Tue, 29 Jul 2014 03:22:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC1jQ-0007Xz-Dy for bug-gnu-emacs@gnu.org; Tue, 29 Jul 2014 03:22:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC1jQ-0007Xk-6k for bug-gnu-emacs@gnu.org; Tue, 29 Jul 2014 03:21:56 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6T7LswG007547 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 29 Jul 2014 03:21:54 -0400 Received: from [10.34.4.239] (unused-4-239.brq.redhat.com [10.34.4.239]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s6T7Lrw1006041 for ; Tue, 29 Jul 2014 03:21:54 -0400 Message-ID: <53D74B8F.80907@redhat.com> Date: Tue, 29 Jul 2014 09:21:51 +0200 From: Petr Hracek User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Emacs starts slowly in case of wrong hostname (/etc/hosts) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.0 (-----) Dear emacs users/developers, https://bugzilla.redhat.com/show_bug.cgi?id=923418 I have a question. I know that emacs does not modify hostname. That's correct. But my question is whether emacs can check validity of hostname during start and in case of failure inform user that hostname is wrong. Greetings -- Best regards / S pozdravem Petr Hracek From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 29 20:06:35 2014 Received: (at 18142) by debbugs.gnu.org; 30 Jul 2014 00:06:35 +0000 Received: from localhost ([127.0.0.1]:42396 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCHPe-0000ck-R7 for submit@debbugs.gnu.org; Tue, 29 Jul 2014 20:06:35 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53791 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCHPd-0000cc-1a for 18142@debbugs.gnu.org; Tue, 29 Jul 2014 20:06:33 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XCHPc-00023x-1l; Tue, 29 Jul 2014 20:06:32 -0400 From: Glenn Morris To: Petr Hracek Subject: Re: bug#18142: Emacs starts slowly in case of wrong hostname (/etc/hosts) References: <53D74B8F.80907@redhat.com> X-Spook: 9/11 Ruby Ridge Honduras sniper TWA Rule Psix AIMSX Ron X-Ran: !)?t6S),@;+{H!{cEiEJot3Cu@n(x2:qbC (Petr Hracek's message of "Tue, 29 Jul 2014 09:21:51 +0200") Message-ID: <3e8unbyak8.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 18142 Cc: 18142@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) Petr Hracek wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=923418 > > I have a question. I know that emacs does not modify hostname. > That's correct. > > But my question is whether emacs can check validity of hostname during start > and in case of failure inform user that hostname is wrong. There's been an etc/PROBLEMS entry about this for at least a decade, so my guess is: no. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 29 20:06:48 2014 Received: (at control) by debbugs.gnu.org; 30 Jul 2014 00:06:48 +0000 Received: from localhost ([127.0.0.1]:42399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCHPs-0000dF-8m for submit@debbugs.gnu.org; Tue, 29 Jul 2014 20:06:48 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:53793 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XCHPq-0000d4-9F for control@debbugs.gnu.org; Tue, 29 Jul 2014 20:06:46 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XCHPq-0002GL-28 for control@debbugs.gnu.org; Tue, 29 Jul 2014 20:06:46 -0400 Date: Tue, 29 Jul 2014 20:06:46 -0400 Message-Id: Subject: control message for bug 18142 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) forwarded 18142 https://bugzilla.redhat.com/show_bug.cgi?id=923418 From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 06 13:08:00 2014 Received: (at 18142) by debbugs.gnu.org; 6 Aug 2014 17:08:00 +0000 Received: from localhost ([127.0.0.1]:60579 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XF4gx-0004jd-Be for submit@debbugs.gnu.org; Wed, 06 Aug 2014 13:08:00 -0400 Received: from mercure.iro.umontreal.ca ([132.204.24.67]:59036) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XF4gq-0004jN-V0 for 18142@debbugs.gnu.org; Wed, 06 Aug 2014 13:07:57 -0400 Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id EB7E284EC6; Wed, 6 Aug 2014 13:07:51 -0400 (EDT) Received: from lechon.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 179DE1E5B74; Wed, 6 Aug 2014 13:07:27 -0400 (EDT) Received: by lechon.iro.umontreal.ca (Postfix, from userid 20848) id CDE05B40CD; Wed, 6 Aug 2014 13:07:26 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#18142: Emacs starts slowly in case of wrong hostname (/etc/hosts) Message-ID: References: <53D74B8F.80907@redhat.com> <3e8unbyak8.fsf@fencepost.gnu.org> Date: Wed, 06 Aug 2014 13:07:26 -0400 In-Reply-To: <3e8unbyak8.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 29 Jul 2014 20:06:31 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82, MC_TSTLAST 0.00) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-Spam-Status: No X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 18142 Cc: Petr Hracek , 18142@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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.0 (---) >> https://bugzilla.redhat.com/show_bug.cgi?id=923418 >> I have a question. I know that emacs does not modify hostname. >> That's correct. >> But my question is whether emacs can check validity of hostname during start >> and in case of failure inform user that hostname is wrong. > There's been an etc/PROBLEMS entry about this for at least a decade, so > my guess is: no. Tho, maybe we could add code that (heuristically) detects when we get a timeout, and then emits a message pointing to the likely culprit. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 06 20:07:07 2018 Received: (at control) by debbugs.gnu.org; 7 Jun 2018 00:07:07 +0000 Received: from localhost ([127.0.0.1]:37238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQiSI-0007Qu-WC for submit@debbugs.gnu.org; Wed, 06 Jun 2018 20:07:07 -0400 Received: from mail-it0-f52.google.com ([209.85.214.52]:53987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQiSI-0007QP-9e; Wed, 06 Jun 2018 20:07:06 -0400 Received: by mail-it0-f52.google.com with SMTP id a195-v6so10555157itd.3; Wed, 06 Jun 2018 17:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=jTIwkxgyOriuRWDh3eyAvj4xfqzOEAGNEaZ0pdH1h68=; b=Bgy8WpgVsg9bY+43SBCbO3gU3fRoOmLc6ZwTt4qCteOyxH9Q1cFaxDAZcQVrZRIqFd jLgU0VGouKe8d/r9XC8E4tNBLb8Hlwz+MFyAGPQa55VJml1MRMGjzy5WSJhwZoXU2VqN 9PuraC4V6RV6sAfEPGwiuYjQKlfyghxuP6jXx+BFCXZI6SMur3YEW64a3hyc9qg8EyOd 9xeUVDQ/DTzJMj+AgVppxCGkv8YIUHh6R2OUQkiSVoBJQLYJr7QQg8EBzOfUyXSz0PkX hy27AzKz7UACy+UqOEd2R0dL0u4r8/zaSpDznMTCAlVAwgEMzQgEGNbzmb6B6z5z6PlO 9tjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=jTIwkxgyOriuRWDh3eyAvj4xfqzOEAGNEaZ0pdH1h68=; b=L6ir+FFtDVZCqP+2mK3viCynSmpw0e7ALjsuNN3DghUiWQSzIhC4ikV5tL8XLhpSwr U+rOyfLYK7ETsfu8frTe0Gw4Is8nCuT7O9scJGivgz28ki5RjaMu05VQ/UQWnjNQRvw9 IXpMQ0WXbMfO99U9OPM7YaIf6iOdC6ClzNrKM5TP2fU5GEP2yCikuO2ZwOXBeurmfIJJ g7IOF6pD3JmtGFitddxBoylieaG/62hFeY+9hwGWqkgVk9OgZDM8wM/l/Rd1JzqD7CHJ cApmxt80RnxQ0bAkQ1VAfN4nF9JSVD1vZq1N3lNWrp5Zxksxci0q1s8B5wWmVSLo0cI7 7TeA== X-Gm-Message-State: APt69E25Los1h6sFJ4zh1QRPmN8Z5EW839eMfAvnyVpIKfBdLxh9+hfY mNlPQetZy5e3Ctoc2/5OVndAfPoJ X-Google-Smtp-Source: ADUXVKIYgRo7/HyvxDa58AbgqcY5my/Cf97UEY8pqMnwCRUCi6If9FvbTzpxMVfTuxpl+wk3wxTzMA== X-Received: by 2002:a24:684d:: with SMTP id v74-v6mr37549itb.88.1528330020901; Wed, 06 Jun 2018 17:07:00 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g26-v6sm367885iti.0.2018.06.06.17.07.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 17:07:00 -0700 (PDT) From: Noam Postavsky To: Nicolas Richard Subject: Re: bug#18607: 24.3.93; Warn user if finding fqdn is too slow References: <87tx3mippv.fsf@geodiff-mac3.ulb.ac.be> Date: Wed, 06 Jun 2018 20:06:58 -0400 In-Reply-To: <87tx3mippv.fsf@geodiff-mac3.ulb.ac.be> (Nicolas Richard's message of "Thu, 02 Oct 2014 15:08:28 +0200") Message-ID: <87tvqf31el.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: control Cc: 18607@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 (-) forcemerge 18607 18142 close 18607 quit Nicolas Richard writes: > Sometimes we encounter the known problem "Emacs startup on GNU/Linux > systems [...] is slow." (see e.g. #1492, #9291) and the only visible > effect is that emacs is slow. > > The fact that emacs being slow at startup is sometimes considered normal > means that the above problem might be overlooked. (That's exactly what > happened to me the last few weeks, I'm happily generalizing this to > everyone.) Since Emacs no longer performs DNS on startup to find fqdn, I think this is no longer needed. From unknown Fri Aug 15 02:04:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 05 Jul 2018 11:24:04 +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