From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QRAeq-0000Bw-GW for garchives@archives.gentoo.org; Mon, 30 May 2011 22:09:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 068991C0CC; Mon, 30 May 2011 22:08:18 +0000 (UTC) Received: from karnak.local (cpc2-lutn10-2-0-cust603.9-3.cable.virginmedia.com [81.97.90.92]) by pigeon.gentoo.org (Postfix) with ESMTP id C03EF1C0CC for ; Mon, 30 May 2011 22:08:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by karnak.local (Postfix) with ESMTP id 01C403003 for ; Mon, 30 May 2011 23:08:18 +0100 (BST) X-Virus-Scanned: by amavisd-new using ClamAV at karnak.local Received: from karnak.local ([127.0.0.1]) by localhost (karnak.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oHAKKFx0z-NZ for ; Mon, 30 May 2011 23:08:16 +0100 (BST) Received: from karnak.local (localhost [127.0.0.1]) by karnak.local (Postfix) with ESMTP id 89E2F3002 for ; Mon, 30 May 2011 23:08:16 +0100 (BST) Date: Mon, 30 May 2011 23:08:08 +0100 From: David W Noon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Cleaning redundant configuration files Message-ID: <20110530230808.41ecb29a@karnak.local> In-Reply-To: References: Organization: Luton Operatic Society X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/O7_HiHBkH/eX9qvPkx7.T09"; protocol="application/pgp-signature" X-Archives-Salt: X-Archives-Hash: da16ea69330d6bfabf6866ebad85c823 --Sig_/O7_HiHBkH/eX9qvPkx7.T09 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 30 May 2011 21:20:01 +0200, Neil Bothwick wrote about Re: [gentoo-user] Cleaning redundant configuration files: >On Mon, 30 May 2011 19:05:10 +0100, David W Noon wrote: [snip] >> The only algorithmic approach with which I would feel comfortable >> would be if the file were checked against the previous contents of a >> package and found present, but has disappeared from the new contents >> of that same package. Even then, I would want manual confirmation. > >That omits the most common cause of orphaned files, that the package >owning it has been unmerged. You have just touched on an annoyance of unmerge, in that it does not clean up configuration files that have been modified. It removes files that are still in the same state as when the package was emerged, but not those modified by the user. I don't see how user changes make the file more important than would be in its vanilla state. Perhaps an option to remove (by an unmerge, not etc-update or the like) these genuinely orphaned files could be set in /etc/make.conf. --=20 Regards, Dave [RLU #314465] *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* dwnoon@ntlworld.com (David W Noon) *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* --Sig_/O7_HiHBkH/eX9qvPkx7.T09 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk3kFVAACgkQc9/LpQ70v49giACgpSOd2Rkxc/Wo5BG+2cCivLbn LsUAn1frsQU2wqYd7hjmXDRyzrBkUm7v =SBGw -----END PGP SIGNATURE----- --Sig_/O7_HiHBkH/eX9qvPkx7.T09--