"Chatty" config files in /etc

Sergey Babkin babkin at verizon.net
Thu Aug 31 11:18:05 UTC 2006


>From: Tom Rhodes <trhodes at FreeBSD.org>

>> I think they should be moved to /usr/share/examples/etc/ (like
>> make.conf), with files in /etc/ representing good (short) defaults
>> with a minimum of comments and probably references to examples.
>> Like no /etc/hosts.allow file at all:
>> 
>> """
>> A non-existing access control file is treated as if it were an empty
>> file. Thus, access control can be turned off by providing no access
>> control files.
>> """
>
>Question is, what files will be moved?  All configuration files
>or just "some" ?

I don't think anything should be moved, nor "chattiness" removed.
It's a great convenience, to find the examples right in
the config file, and one of the great things about FreeBSD.
Maybe just these comments should be marked in some
special way (like #> instead of just #), and then the
mergemaster could simply take the whole section marked
as such and replace it with the section from the new version.

-SB


More information about the cvs-src mailing list