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 1H1ycu-00056j-H7 for garchives@archives.gentoo.org; Wed, 03 Jan 2007 05:25:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id l035NFWh020390; Wed, 3 Jan 2007 05:23:15 GMT Received: from iabervon.org (iabervon.org [66.92.72.58]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id l035L73t008795 for ; Wed, 3 Jan 2007 05:21:08 GMT Received: (qmail 13269 invoked by uid 1000); 3 Jan 2007 00:21:05 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Jan 2007 00:21:05 -0500 Date: Wed, 3 Jan 2007 00:21:02 -0500 (EST) From: Daniel Barkalow To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: anti-portage wreckage? In-Reply-To: <200701021202.59258.alan@linuxholdings.co.za> Message-ID: References: <89646b4a0612241752i127b3c29iec9f88687085c6c@mail.gmail.com> <89646b4a0612311834o6a5928bcsaf0c6e57921a038c@mail.gmail.com> <200701021202.59258.alan@linuxholdings.co.za> 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: c9bda9ca-052c-43c4-889e-974af4c7c0cd X-Archives-Hash: ae3bd768d683ebda1cf67e057b0e9079 On Tue, 2 Jan 2007, Alan McKinnon wrote: > On Tuesday 02 January 2007 08:50, Daniel Barkalow wrote: > > I also think that emerge should keep track of the config files > > installed by packages, so that etc-update knows if you've got local > > modifications, and give you a big warning when you might lose a > > change you made. > > Huh? Portage already does this. Standard config dirs are > CONFIG_PROTECTed which is where etc-update comes in. It will merge > trivial changes (whitespace, etc) and let *you* chose what to do for > everything else. You get to keep the original file, use the update, or > use a customized merge of the two. 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 (including, in some cases, executables that get installed in protected directories). > There is no need to give you a big warning if you might lose a change - > the very act of running etc-update at all IS that warning. It's > understood that if the new file shows up, then you DO have local > modifications It's understood that there is a difference between what I'm using now and what new package comes with. But there's no information on whether that difference came from local modifications. -Daniel *This .sig left intentionally blank* -- gentoo-user@gentoo.org mailing list