From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GNbcH-0002rk-H5 for garchives@archives.gentoo.org; Wed, 13 Sep 2006 20:45:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8DKjM1T031892; Wed, 13 Sep 2006 20:45:22 GMT Received: from nemesis.fprintf.net (nemesis.fprintf.net [66.134.112.218]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8DKgoiO018044 for ; Wed, 13 Sep 2006 20:42:51 GMT Received: (qmail 21628 invoked by uid 210); 13 Sep 2006 16:42:49 -0400 Received: from 65.247.36.242 by nemesis (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.88.2/1874. spamassassin: 3.1.0. perlscan: 1.25st. Clear:RC:0(65.247.36.242):SA:0(-4.1/5.0):. Processed in 1.734148 secs); 13 Sep 2006 20:42:49 -0000 X-Spam-Status: No, hits=-4.1 required=5.0 Received: from aa-redwall1.nexthop.com (HELO ?10.68.253.135?) (dang@fprintf.net@65.247.36.242) by nemesis.fprintf.net with SMTP; 13 Sep 2006 16:42:47 -0400 Subject: Re: [gentoo-dev] RFC: Package Manager Specification: configuration protection From: Daniel Gryniewicz To: gentoo-dev@lists.gentoo.org In-Reply-To: <200609131947.13027.benno.schulenberg@gmail.com> References: <20060911232211.2cb55425@snowdrop.home> <200609131947.13027.benno.schulenberg@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pSgnDc88kq1PVN3fKmWq" Date: Wed, 13 Sep 2006 16:42:41 -0400 Message-Id: <1158180161.31657.44.camel@athena.fprintf.net> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.0 X-Archives-Salt: 9b169096-faba-4ac7-9685-432a50bd9571 X-Archives-Hash: 9c2f4dbf2b857b3878c180e483c29b37 --=-pSgnDc88kq1PVN3fKmWq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2006-09-13 at 19:47 +0200, Benno Schulenberg wrote: > Ciaran McCreesh wrote: > > * If no existing file with the intended target name exists, or if=20 > > the existing file has identical content to the file to be=20 > > installed, the file to be installed is installed as normal. >=20 > I would much prefer new files to be treated as if replacing an=20 > existing zero length file. When something is installed into /etc,=20 > etc-update should alert me to this, because logically speaking a=20 > new configuration file is a big configuration change. >=20 > Ideally the package manager would unconditionally respect the config=20 > protection area, and it should be up to tools like etc-update to=20 > (configurably) automerge new files and identical files, just like=20 > it can be configured to automerge trivial/comment changes. >=20 I disagree. If there is a sane default configuration for something (which is most things), I want it installed, so it works out of the box. I don't want to have to fiddle with config files to get sshd up and running. Obviously, if there's no sane default configuration (samba?), then the installed configuration shouldn't do anything. Daniel --=-pSgnDc88kq1PVN3fKmWq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) iD8DBQBFCG1BomPajV0RnrERAk9uAJ9x4/X/mpFnEwn5klZQAzuixJ5uEACfWpXU J5htO3PPE4Hpt4/qZoISVsE= =52bX -----END PGP SIGNATURE----- --=-pSgnDc88kq1PVN3fKmWq-- -- gentoo-dev@gentoo.org mailing list