Gentoo Archives: gentoo-dev

From: R Joseph Wright <rjoseph@××××××××.org>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] emerge update overwrites /etc
Date: Thu, 28 Jun 2001 11:54:29
Message-Id: 20010628105154.A4812@mammalia.org
In Reply to: Re: [gentoo-dev] emerge update overwrites /etc by Holger Brueckner
1 On Thu, Jun 28, 2001 at 02:02:16PM +0200, Holger Brueckner wrote:
2 > > I had under /etc was overwritten. Even /etc/passwd! I don't know if it
3 > is
4 >
5 > *uppps*
6 >
7 > > being worked on, but I believe the correct behavior would be to have
8 > anything
9 > > destined for the /etc directory to be installed into a fake etc, say
10 > > /tmp/portage/etc, and then use something like FreeBSD's mergemaster to do
11 > the
12 > > update.
13 >
14 > portage > 1.5.2 has config file support. it won't overwrite files in dirs
15 > you can specifiy in
16 > /etc/make.globals with the CONFIG_PROTECT variable
17
18 I knew there had to be something like that, but I just didn't find it.
19 I still like the idea of using something like mergemaster :).
20
21 > note .. if you're upgrading from an earlier portage .. backup your
22 > /etc/make.x files since
23 > they'll get overwritten !!
24 >
25 > Holger
26
27 --
28 Joseph

Replies

Subject Author
Re: [gentoo-dev] emerge update overwrites /etc Daniel Robbins <drobbins@g.o>