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 1QR9IY-0005Y5-7c for garchives@archives.gentoo.org; Mon, 30 May 2011 20:42:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0BD61C0BA; Mon, 30 May 2011 20:41:27 +0000 (UTC) Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by pigeon.gentoo.org (Postfix) with ESMTP id CDDF21C0BA for ; Mon, 30 May 2011 20:41:27 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id 85718205BE for ; Mon, 30 May 2011 16:41:27 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 30 May 2011 16:41:27 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:date:from:mime-version:to:subject:references:in-reply-to:content-type; s=smtpout; bh=ZheOILeZVPAc2xNnRRgSsSF+UiY=; b=HCo9CSBOPFxC7tXChM1HsRZMO6QyqtzKoLRBJQ+p7oX4hfgGTxG27f8/G/IMWHfVCeB02pRUnyYG5XUojy8qLEWI3yXpfbeBcyxPnsXC/QEjNwnZu0RAnD4IZmVQptcUi63L5qHY9dQeSJH43s2JKqjcSYpAUtEZ/W05jkO9bDU= X-Sasl-enc: Lt77Zna1KNoUPZnjCFaRPL23uaNzqVnCA9XeuQBWgIz1 1306788086 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id A4108409139 for ; Mon, 30 May 2011 16:41:25 -0400 (EDT) Message-ID: <4DE400EA.2040901@binarywings.net> Date: Mon, 30 May 2011 22:41:14 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110507 Lightning/1.0b3pre Thunderbird/3.1.10 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Cleaning redundant configuration files References: <20110530190510.209af8df@karnak.local> In-Reply-To: <20110530190510.209af8df@karnak.local> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD1DF95D5347037B2BEE835FF" X-Archives-Salt: X-Archives-Hash: 73b01f8821fe2ee2bf07cec405956d4d This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD1DF95D5347037B2BEE835FF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 30.05.2011 20:05, schrieb David W Noon: > On Mon, 30 May 2011 18:10:02 +0200, Neil Bothwick wrote about Re: > [gentoo-user] Cleaning redundant configuration files: >=20 >> On Mon, 30 May 2011 15:48:15 +0100, David W Noon wrote: >> >>> How does the tool of choice determine if a file is redundant or not? >>> >>> Just because a configuration file is not associated with a Portage >>> package [any more] does not necessarily mean it is redundant. >> >> No, but it indicates the file warrants a closer look as it may be >> orphaned. qfile is my tool of choice for this, it only list files and >> deletes nothing. >=20 > Indeed, I would be very wary of any tool that automatically deleted a > configuration file without backing it up. >=20 > 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. This might also be one of the few cases where atime might be of interest. If the file has not been accessed in the last complete power-on/power-off cycle, chances are no application depends on it. Of course, even then there are lots of false positives, for example everything in /etc/skel Regards, Florian Philipp --------------enigD1DF95D5347037B2BEE835FF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3kAO4ACgkQqs4uOUlOuU8yQQCZAelCw6HedKuS225UiYLHEUt2 QlMAnjRTp7Dk4h8L0IL53vfq17seXo+L =xqT9 -----END PGP SIGNATURE----- --------------enigD1DF95D5347037B2BEE835FF--