From owner-freebsd-arch Wed Feb 12 12:19:19 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4C3DB37B401 for ; Wed, 12 Feb 2003 12:19:18 -0800 (PST) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88B3443FAF for ; Wed, 12 Feb 2003 12:19:17 -0800 (PST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.6/8.12.6) with ESMTP id h1CKIxbs026985 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 12 Feb 2003 15:18:59 -0500 (EST) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.6/8.12.6/Submit) id h1CKIxjT026982; Wed, 12 Feb 2003 15:18:59 -0500 (EST) (envelope-from wollman) Date: Wed, 12 Feb 2003 15:18:59 -0500 (EST) From: Garrett Wollman Message-Id: <200302122018.h1CKIxjT026982@khavrinen.lcs.mit.edu> To: Thomas Quinot Cc: arch@FreeBSD.org Subject: Re: syslog.conf syntax change (multiple program/host specifications) In-Reply-To: <20030212182852.GA94317@melusine.cuivre.fr.eu.org> References: <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <200302112310.h1BNAUBS019097@khavrinen.lcs.mit.edu> <20030212182852.GA94317@melusine.cuivre.fr.eu.org> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG < said: > The benefit of such changes is often unclear; configuration files should > be easy to read and modify for a human user. Whether or not they are > easy to parse is irrelevant once the parser is written. :) The benefit of such changes is that, when new features are necessary (e.g., MAC labels for servers started by inetd), it is not necessary to create yet another kluge to shoehorn the new feature into the old, inflexible syntax. AIX actually had sort-of-the-right-idea, in that most of the AIX-specific configuration files are lexically identical, vary very little in syntax, and are easily extensible. Unfortunately, there is no great community of "stanza" format processing tools like there are for XML or even (gack) Windows .INI files. Don't get me wrong: I'm not putting forward XML because I like it; I am however noting that none of the comparably-capable alternatives have anything like the broad support that XML does. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message