From owner-freebsd-doc@FreeBSD.ORG Tue Jun 24 17:00:10 2008 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AF9510656BC for ; Tue, 24 Jun 2008 17:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D49288FC43 for ; Tue, 24 Jun 2008 17:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5OH09k7017244 for ; Tue, 24 Jun 2008 17:00:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5OH09Bl017243; Tue, 24 Jun 2008 17:00:09 GMT (envelope-from gnats) Resent-Date: Tue, 24 Jun 2008 17:00:09 GMT Resent-Message-Id: <200806241700.m5OH09Bl017243@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wayne Sierke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A912E106566B for ; Tue, 24 Jun 2008 16:57:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A174A8FC25 for ; Tue, 24 Jun 2008 16:57:19 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m5OGvJZH096872 for ; Tue, 24 Jun 2008 16:57:19 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m5OGvJpN096871; Tue, 24 Jun 2008 16:57:19 GMT (envelope-from nobody) Message-Id: <200806241657.m5OGvJpN096871@www.freebsd.org> Date: Tue, 24 Jun 2008 16:57:19 GMT From: Wayne Sierke To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/124949: Discrepancy between handbook and example hosts file for localhost configuration X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2008 17:00:10 -0000 >Number: 124949 >Category: docs >Synopsis: Discrepancy between handbook and example hosts file for localhost configuration >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Jun 24 17:00:09 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Wayne Sierke >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: FreeBSD predator-ii.buffyverse 7.0-STABLE FreeBSD 7.0-STABLE #1: Sat May 10 14:31:48 CST 2008 root@predator-ii.buffyverse:/usr/obj/usr/src/sys/GENERIC i386 >Description: There is a slight but possibly significant discrepancy between the 'localhost' configuration entries given in the handbook 11.10.2.2 /etc/hosts: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-configfiles.html and the installed /usr/share/examples/etc/hosts (and default /etc/hosts) file, viz: ::1 localhost localhost.my.domain myname.my.domain 127.0.0.1 localhost localhost.my.domain myname.my.domain ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain respectively. This difference was noticed recently while resolving a 'slow login' problem with sshd. Although I don't have a reference, I seem to recall having seen at least one claim that the hostname entry might be needed (in the loopback config) to circumvent ssh login delays. >How-To-Repeat: Compare localhost entries in /usr/share/examples/etc/hosts and default /etc/hosts with instructions in handbook 11.10.2.2. >Fix: Unknown. Expert input needed. If consensus deems that changes are needed, I'm happy to follow up with the requisite patches. >Release-Note: >Audit-Trail: >Unformatted: