"Chatty" config files in /etc
Garance A Drosehn
gad at FreeBSD.org
Thu Aug 31 20:21:11 UTC 2006
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 at rpi.edu
Senior Systems Programmer or gad at FreeBSD.org
Rensselaer Polytechnic Institute; Troy, NY; USA
More information about the cvs-src
mailing list