Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2006 16:21:06 -0400
From:      Garance A Drosehn <gad@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Tom Rhodes <trhodes@FreeBSD.org>, src-committers@FreeBSD.org, cvs-all@FreeBSD.org, cvs-src@FreeBSD.org
Subject:   Re: "Chatty" config files in /etc
Message-ID:  <p06230920c11cf28785b9@[128.113.24.47]>
In-Reply-To: <20060831095352.GA52914@rambler-co.ru>
References:  <200608290920.k7T9KmV9067843@repoman.freebsd.org> <86zmdmfoow.fsf@dwp.des.no> <p0623091cc11b704fff62@[128.113.24.47]> <20060830202834.GA11284@rambler-co.ru> <20060830192456.2497b4bd.trhodes@FreeBSD.org> <p0623091ec11bdac4f347@[128.113.24.47]> <20060831095352.GA52914@rambler-co.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
At 1:53 PM +0400 8/31/06, Ruslan Ermilov wrote:
>
>[...]  I'd replace the default /etc/hosts with:
>
>127.0.0.1	localhost
>::1		localhost

I think that is trimming that file too much.  I think the file
needs to include the localhost.my.domain entry, even though
every installation should be changing that 'my.domain' part.

I would have it:

# $FreeBSD: src/etc/hosts,v 1.16 2003/01/28 21:29:23 dbaker Exp $
#
# Host Database
#
# This file should contain the addresses and aliases for local hosts that
# share this file.  Replace 'my.domain' below with the domainname of your
# machine.
#
# See /etc/examples/hosts for additional important information.
#
::1                     localhost localhost.my.domain
127.0.0.1               localhost localhost.my.domain


My feeling is that it's okay if the distributed file has to be
changed to get a working installation, just as long as the few
details which are in that distributed file are not likely to
change in the future.  As long as the file will not repeatedly
show up in the mergemaster step, then it will not a problem (IMO).

-- 
Garance Alistair Drosehn     =               drosehn@rpi.edu
Senior Systems Programmer               or   gad@FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p06230920c11cf28785b9>