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.62) (envelope-from ) id 1H2CoP-0007dq-W5 for garchives@archives.gentoo.org; Wed, 03 Jan 2007 20:34:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l03KW2hm006308; Wed, 3 Jan 2007 20:32:02 GMT Received: from iabervon.org (iabervon.org [66.92.72.58]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l03KTnZp017290 for ; Wed, 3 Jan 2007 20:29:50 GMT Received: (qmail 18972 invoked by uid 1000); 3 Jan 2007 15:29:47 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Jan 2007 15:29:47 -0500 Date: Wed, 3 Jan 2007 15:29:47 -0500 (EST) From: Daniel Barkalow To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: anti-portage wreckage? In-Reply-To: <20070103085859.2d3185bb@hactar.digimed.co.uk> Message-ID: References: <89646b4a0612241752i127b3c29iec9f88687085c6c@mail.gmail.com> <89646b4a0612311834o6a5928bcsaf0c6e57921a038c@mail.gmail.com> <200701021202.59258.alan@linuxholdings.co.za> <20070103085859.2d3185bb@hactar.digimed.co.uk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archives-Salt: 3e24323f-8fb5-4745-8b60-47d421ec85ce X-Archives-Hash: a1c78df0fbf394fbbbbdacfe1e873503 On Wed, 3 Jan 2007, Neil Bothwick wrote: > On Wed, 3 Jan 2007 00:21:02 -0500 (EST), Daniel Barkalow wrote: > > > The issue is that etc-update doesn't have the version of the config > > file as installed by the version of the package that's being replaced, > > so it can't tell the difference between non-trivial changes to the > > config file as shipped by gentoo between the old version and the new > > version and non-trivial local modifications that I've made myself to a > > config file which has not been changed between package versions. I've > > definitely had etc-update ask for confirmation on files I'm sure I > > didn't change > > I haven't use etc-update for a while, but dispatch-conf can do this. > > # Automerge files that the user hasn't modified > # (yes or no) > replace-unmodified=no > > Whether this is a good idea is a completely separate issue. If a service > had a config file change between versions and the file was updated to the > new format while the old daemon was still running, the results could be > "interesting". I actually wanted the opposite feature: have an extra confirmation required for replacing a locally-modified file. And it shouldn't require all of the extra bookkeeping of dispatch-conf to get this, although dispatch-conf is clearly a lot closer. -Daniel *This .sig left intentionally blank* -- gentoo-user@gentoo.org mailing list