Gentoo Archives: gentoo-dev

From: Stuart Herbert <stuart@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Unmerging and CONFIG_PROTECT
Date: Tue, 02 Mar 2004 19:22:05
Message-Id: 200403021923.23351.stuart@gentoo.org
In Reply to: Re: [gentoo-dev] Unmerging and CONFIG_PROTECT by Jeremy Huddleston
1 On Saturday 28 February 2004 18:46, Jeremy Huddleston wrote:
2 > On Sat, 2004-02-28 at 02:55, Stuart Herbert wrote:
3 > > I agree with Jason - a config file that hasn't been modified shouldn't be
4 > > config-protected. No information is lost when the file is removed, and
5 > > if a Gentoo user has edited the file, it'll get picked up because of the
6 > > change in timestamp and md5sum.
7 >
8 > It should be left. Consider this case:
9 > $ emerge packageA
10 > /etc/services is modified to contain a reference for packageA
11 >
12 > $ emerge packageB
13 > /etc/services is modified to contain a reference for packageB
14 >
15 > $ emerge unmerge packageB
16 > say good bye to /etc/services
17
18
19 That's a different problem. You're basically saying that packages have to
20 leave config files behind, because at the moment, Portage doesn't have enough
21 support for handling dependencies correctly.
22
23 That's a Portage limitation (which should be fixed imho), and it doesn't
24 affect the new webapp-config code anyway.
25
26 Best regards,
27 Stu
28 --
29 Stuart Herbert stuart@g.o
30 Gentoo Developer http://www.gentoo.org/
31 Beta packages for download http://dev.gentoo.org/~stuart/packages/
32 Come and meet me in March 2004 http://www.phparch.com/cruise/
33
34 GnuGP key id# F9AFC57C available from http://pgp.mit.edu
35 Key fingerprint = 31FB 50D4 1F88 E227 F319 C549 0C2F 80BA F9AF C57C
36 --