From owner-cvs-all@FreeBSD.ORG Thu Aug 31 01:46:35 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D65AE16A4DD; Thu, 31 Aug 2006 01:46:35 +0000 (UTC) (envelope-from trhodes@FreeBSD.org) Received: from pittgoth.com (ns1.pittgoth.com [216.38.206.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 149DF43D45; Thu, 31 Aug 2006 01:46:34 +0000 (GMT) (envelope-from trhodes@FreeBSD.org) Received: from localhost (net-ix.gw.ai.net [205.134.160.6] (may be forged)) (authenticated bits=0) by pittgoth.com (8.13.6/8.13.6) with ESMTP id k7V1kVJC047658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 30 Aug 2006 21:46:32 -0400 (EDT) (envelope-from trhodes@FreeBSD.org) Date: Wed, 30 Aug 2006 21:46:26 -0400 From: Tom Rhodes To: Garance A Drosehn Message-Id: <20060830214626.6f7bc7f0.trhodes@FreeBSD.org> In-Reply-To: References: <200608290920.k7T9KmV9067843@repoman.freebsd.org> <86zmdmfoow.fsf@dwp.des.no> <20060830202834.GA11284@rambler-co.ru> <20060830192456.2497b4bd.trhodes@FreeBSD.org> Organization: The FreeBSD Project X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, ru@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: "Chatty" config files in /etc X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Aug 2006 01:46:36 -0000 On Wed, 30 Aug 2006 20:42:19 -0400 Garance A Drosehn wrote: > On Aug 30/06, Tom Rhodes asks the reasonable question: > >On Thu, 31 Aug 2006 00:28:34 +0400 > >Ruslan Ermilov wrote: > > > > > On Wed, Aug 30, 2006 at 01:41:51PM -0400, Garance A Drosehn wrote: > > > > > >> > I do think those comments and examples are useful, but it might be > > > > better to move those lines into separate files. > > > > > > 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. > > > >Question is, what files will be moved? All configuration files > >or just "some" ? > > I would not move "all" of them. I think the proper rule would be > "Split up the ones which constantly annoy me when they change". > Obviously that's a rather subjective criteria... A better criteria might be those which may be modified and may have issues with merging. > > We could pick off a few and change those, and then see if there > are anymore which should be split up. My list would be: > /etc/hosts > /etc/hosts.allow > /etc/pf.conf > /etc/printcap Of course, my criteria would be moving a lot, including the firewall rulesets, login.conf, malloc.conf, etc. We should be careful here, there is a chance we could get carried away and see a ton of files getting moved. I'm skeptical of this as it makes configuration files normally stored in /etc a moving target ... yet it might be good, have you ran an ls in Linux /etc lately ... damn. > > These are files which have "too many" helpful comments or examples > in them, and which I have to modify on every single machine I ever > bring up. So *every* time one of these changes, I have to stop and > stare at the diff in the mergemaster step, and 99% of the time the > change is just to fix or improve some comment. And in many cases, > the change is to some line that I remove in my custom copy. Now > all of those changes seem to be good changes, but they are still > an annoyance when it comes to merging in my local changes. Agreed. > > I've also had a vague plan to split up /etc/newsyslog.conf, but > in that case most of the lines I want to move are "real" lines > (not comments), so that requires some coding changes to make it > work the way I'd want it to work. As would my idea. ;) -- Tom Rhodes