Gentoo Archives: gentoo-portage-dev

From: Simon Stelling <blubb@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] cfgpro and emerge -C
Date: Wed, 27 Jul 2005 20:31:31
Message-Id: 42E7EF02.1090603@gentoo.org
In Reply to: Re: [gentoo-portage-dev] cfgpro and emerge -C by Alec Joseph Warner
1 Hi,
2
3 Alec Joseph Warner wrote:
4 >> I know CONFIG_PROTECT, but why isn't it ignored when removing a
5 >> package (not in case of upgrading of course)?
6 >>
7 > Because portage errs on the side of you wanting your old config files.
8
9 Why should portage believe that? If I wanted to keep my config files,
10 I'd have made a backup before unmerging it.
11
12 > There are various scripts in bugzilla for cleaning out unowned files in
13
14 Hrm, I can't find one at best will. Could you show me such a bug?
15
16 > /etc. People have argued for portage removing initscripts and various
17 > deals with md5 hashing each file and removing it if the hashes match,
18 > but I don't believe anything like that has made it in.
19
20 Apparently. I now found bug #42027, which has not been touched since
21 march 2004 :(. I still think we really should change this
22 (mis)behaviour, since it will pollute /etc unnecessarily for probably
23 >99% of the users and help very few who forgot to back up their config
24 files before unmerging a package. However, this it should not be
25 portage's responsibility to protect the user from his own stupidity --
26 we aren't programming windows apps, are we? ;)
27
28 Thanks in advance,
29
30 --
31 Simon Stelling
32 Gentoo/AMD64 Operational Co-Lead
33 blubb@g.o
34 --
35 gentoo-portage-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-portage-dev] cfgpro and emerge -C Simon Stelling <blubb@g.o>