Gentoo Archives: gentoo-user

From: David W Noon <dwnoon@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cleaning redundant configuration files
Date: Mon, 30 May 2011 22:09:56
Message-Id: 20110530230808.41ecb29a@karnak.local
1 On Mon, 30 May 2011 21:20:01 +0200, Neil Bothwick wrote about Re:
2 [gentoo-user] Cleaning redundant configuration files:
3
4 >On Mon, 30 May 2011 19:05:10 +0100, David W Noon wrote:
5 [snip]
6 >> The only algorithmic approach with which I would feel comfortable
7 >> would be if the file were checked against the previous contents of a
8 >> package and found present, but has disappeared from the new contents
9 >> of that same package. Even then, I would want manual confirmation.
10 >
11 >That omits the most common cause of orphaned files, that the package
12 >owning it has been unmerged.
13
14 You have just touched on an annoyance of unmerge, in that it does not
15 clean up configuration files that have been modified. It removes files
16 that are still in the same state as when the package was emerged, but
17 not those modified by the user. I don't see how user changes make the
18 file more important than would be in its vanilla state.
19
20 Perhaps an option to remove (by an unmerge, not etc-update or the
21 like) these genuinely orphaned files could be set in /etc/make.conf.
22 --
23 Regards,
24
25 Dave [RLU #314465]
26 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
27 dwnoon@××××××××.com (David W Noon)
28 *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Cleaning redundant configuration files Dale <rdalek1967@×××××.com>
Re: [gentoo-user] Cleaning redundant configuration files Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Cleaning redundant configuration files Neil Bothwick <neil@××××××××××.uk>