public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Florian Philipp <lists@binarywings.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cleaning redundant configuration files
Date: Mon, 30 May 2011 22:41:14 +0200	[thread overview]
Message-ID: <4DE400EA.2040901@binarywings.net> (raw)
In-Reply-To: <20110530190510.209af8df@karnak.local>

[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

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:
> 
>> 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.
> 
> Indeed, I would be very wary of any tool that automatically deleted a
> configuration file without backing it up.
> 
> 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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  parent reply	other threads:[~2011-05-30 20:42 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gYc6K-790-11@gated-at.bofh.it>
     [not found] ` <gYc6K-790-13@gated-at.bofh.it>
     [not found]   ` <gYc6K-790-15@gated-at.bofh.it>
     [not found]     ` <gYc6K-790-9@gated-at.bofh.it>
     [not found]       ` <gYdcu-LK-1@gated-at.bofh.it>
2011-05-30 18:05         ` [gentoo-user] Cleaning redundant configuration files David W Noon
2011-05-30 19:05           ` Neil Bothwick
2011-05-30 20:41           ` Florian Philipp [this message]
     [not found] <gYZ7s-6da-9@gated-at.bofh.it>
     [not found] ` <gZj69-67O-3@gated-at.bofh.it>
     [not found]   ` <gZj69-67O-5@gated-at.bofh.it>
     [not found]     ` <gZj69-67O-7@gated-at.bofh.it>
     [not found]       ` <gZj69-67O-1@gated-at.bofh.it>
     [not found]         ` <gZjpw-6zt-9@gated-at.bofh.it>
2011-06-02 20:28           ` David W Noon
2011-06-02 22:46             ` Volker Armin Hemmann
2011-06-02 23:56             ` Neil Bothwick
     [not found] ` <gZE0Y-7Qm-45@gated-at.bofh.it>
     [not found]   ` <gZE0Y-7Qm-47@gated-at.bofh.it>
     [not found]     ` <gZE0Y-7Qm-49@gated-at.bofh.it>
     [not found]       ` <gZE0Y-7Qm-43@gated-at.bofh.it>
     [not found]         ` <gZEki-7L-15@gated-at.bofh.it>
2011-06-03 16:27           ` David W Noon
     [not found] <gYVZV-Ko-33@gated-at.bofh.it>
     [not found] ` <gYXIm-3Ig-7@gated-at.bofh.it>
     [not found]   ` <gYXIm-3Ig-9@gated-at.bofh.it>
     [not found]     ` <gYXIm-3Ig-11@gated-at.bofh.it>
     [not found]       ` <gYXIm-3Ig-13@gated-at.bofh.it>
     [not found]         ` <gYXIm-3Ig-15@gated-at.bofh.it>
     [not found]           ` <gYXIm-3Ig-17@gated-at.bofh.it>
     [not found]             ` <gYXIm-3Ig-19@gated-at.bofh.it>
     [not found]               ` <gYXIm-3Ig-21@gated-at.bofh.it>
     [not found]                 ` <gYXIm-3Ig-23@gated-at.bofh.it>
     [not found]                   ` <gYVZV-Ko-35@gated-at.bofh.it>
     [not found]                     ` <gYVZV-Ko-37@gated-at.bofh.it>
     [not found]                       ` <gYXIm-3Ig-25@gated-at.bofh.it>
     [not found]                         ` <gYXIm-3Ig-5@gated-at.bofh.it>
     [not found]                           ` <gYYbo-4Dw-9@gated-at.bofh.it>
2011-06-01 19:00                             ` David W Noon
2011-06-01 20:01                               ` Todd Goodman
2011-06-01 21:07                                 ` Dale
     [not found]                           ` <gYYbn-4Dw-1@gated-at.bofh.it>
2011-06-01 18:58                             ` David W Noon
2011-06-02 13:18                             ` Indi
2011-06-02 14:22                               ` Neil Bothwick
2011-06-02 14:40                                 ` Doug Hunley
2011-06-02 19:33                                   ` Mick
     [not found] ` <gZfYC-Um-17@gated-at.bofh.it>
     [not found]   ` <gZfYC-Um-9@gated-at.bofh.it>
     [not found]     ` <gZhnI-3aX-19@gated-at.bofh.it>
2011-06-02 16:24       ` Indi
     [not found] ` <gYVZV-Ko-39@gated-at.bofh.it>
     [not found]   ` <gYVZV-Ko-31@gated-at.bofh.it>
     [not found]     ` <gZ2I2-3TH-27@gated-at.bofh.it>
2011-06-02 16:26       ` David W Noon
2011-06-02 16:47         ` Neil Bothwick
2011-06-02 19:08         ` Alan McKinnon
     [not found] ` <gYYXM-5ZG-7@gated-at.bofh.it>
     [not found]   ` <gYYXM-5ZG-5@gated-at.bofh.it>
     [not found]     ` <gZp1U-7Eo-7@gated-at.bofh.it>
2011-06-03 14:52       ` David W Noon
2011-06-03 15:06         ` Bill Longman
2011-06-03 15:43         ` Alan McKinnon
2011-06-03 17:24         ` Volker Armin Hemmann
2011-06-03 17:32           ` Michael Orlitzky
2011-06-03 17:59         ` Dale
     [not found] <gYFV8-7a4-9@gated-at.bofh.it>
     [not found] ` <gYVdw-82K-5@gated-at.bofh.it>
     [not found]   ` <gYVdw-82K-7@gated-at.bofh.it>
     [not found]     ` <gYVdw-82K-9@gated-at.bofh.it>
     [not found]       ` <gYVdw-82K-11@gated-at.bofh.it>
     [not found]         ` <gYVdw-82K-13@gated-at.bofh.it>
     [not found]           ` <gYVdw-82K-15@gated-at.bofh.it>
     [not found]             ` <gYVdw-82K-17@gated-at.bofh.it>
     [not found]               ` <gYFV8-7a4-11@gated-at.bofh.it>
     [not found] ` <gYQ4a-7xc-5@gated-at.bofh.it>
     [not found]   ` <gYVdw-82K-3@gated-at.bofh.it>
     [not found]     ` <gYVnd-8jd-31@gated-at.bofh.it>
2011-06-01 15:52       ` David W Noon
2011-06-01 22:54         ` Alan McKinnon
     [not found]     ` <gYWjg-1rR-11@gated-at.bofh.it>
2011-06-01 17:35       ` David W Noon
2011-06-01 17:39         ` Todd Goodman
2011-06-01 18:06         ` Dale
2011-06-01 22:54           ` Neil Bothwick
2011-06-01 23:15             ` Dale
     [not found]     ` <gYYbo-4Dw-17@gated-at.bofh.it>
2011-06-01 18:53       ` David W Noon
2011-06-01 21:11         ` Dale
2011-06-02 22:45         ` Volker Armin Hemmann
2011-06-03  7:06           ` Alan McKinnon
     [not found] ` <gYQ4a-7xc-7@gated-at.bofh.it>
     [not found]   ` <gYQ4a-7xc-3@gated-at.bofh.it>
     [not found]     ` <gYQnv-7YP-7@gated-at.bofh.it>
     [not found]       ` <gYUAO-6SO-15@gated-at.bofh.it>
2011-06-02 13:09         ` Indi
2011-06-02 14:38           ` Alan McKinnon
     [not found]       ` <gZfOX-Gd-31@gated-at.bofh.it>
     [not found]         ` <gZhxo-3p9-37@gated-at.bofh.it>
2011-06-02 16:29           ` Indi
     [not found]           ` <gZpXX-KN-1@gated-at.bofh.it>
2011-06-03  8:37             ` Indi
     [not found] <gYA95-5RI-23@gated-at.bofh.it>
     [not found] ` <gYA95-5RI-25@gated-at.bofh.it>
     [not found]   ` <gYA95-5RI-27@gated-at.bofh.it>
     [not found]     ` <gYA95-5RI-29@gated-at.bofh.it>
     [not found]       ` <gYA95-5RI-31@gated-at.bofh.it>
     [not found]         ` <gYA95-5RI-33@gated-at.bofh.it>
     [not found]           ` <gYA95-5RI-35@gated-at.bofh.it>
     [not found] ` <gYA95-5RI-39@gated-at.bofh.it>
     [not found]   ` <gYA95-5RI-21@gated-at.bofh.it>
     [not found]     ` <gYDTj-3L9-11@gated-at.bofh.it>
2011-05-31 22:43       ` David W Noon
2011-05-31 22:56         ` Dale
2011-05-31 23:05         ` Neil Bothwick
2011-05-31 23:55           ` Dale
     [not found]     ` <gYGoa-84w-5@gated-at.bofh.it>
     [not found]       ` <gYH0R-uD-3@gated-at.bofh.it>
2011-06-01  9:31         ` Indi
2011-06-01  9:47           ` Alan McKinnon
2011-06-01 14:18             ` Mike Edenfield
2011-06-02 13:05             ` Indi
2011-06-02 14:48               ` Alan McKinnon
2011-06-02 23:48                 ` Stroller
2011-06-03  1:13                   ` Adam Carter
2011-06-03  1:40                     ` Volker Armin Hemmann
2011-06-03 15:54                   ` Alan McKinnon
2011-06-04  1:06                     ` Stroller
2011-06-01 15:04         ` David W Noon
2011-06-01 14:57       ` David W Noon
2011-06-01 15:06         ` Alan McKinnon
2011-06-01 16:12         ` Neil Bothwick
2011-06-01 18:10         ` Volker Armin Hemmann
     [not found] <gYiYx-29D-9@gated-at.bofh.it>
     [not found] ` <gYiYx-29D-11@gated-at.bofh.it>
     [not found]   ` <gYiYx-29D-13@gated-at.bofh.it>
     [not found]     ` <gYiYx-29D-15@gated-at.bofh.it>
     [not found]       ` <gYiYx-29D-17@gated-at.bofh.it>
     [not found]         ` <gYiYx-29D-19@gated-at.bofh.it>
     [not found]           ` <gYiYx-29D-21@gated-at.bofh.it>
     [not found]             ` <gYiYx-29D-7@gated-at.bofh.it>
     [not found]               ` <gYsbv-OD-21@gated-at.bofh.it>
2011-05-31 16:26                 ` David W Noon
2011-05-31 20:29                   ` Mick
2011-05-31 23:14                   ` Neil Bothwick
2011-05-31 23:48                     ` Peter Humphrey
2011-06-01  8:46                       ` Alan McKinnon
2011-06-01  9:04                       ` Neil Bothwick
     [not found] <gYf4B-3WW-9@gated-at.bofh.it>
     [not found] ` <gYf4B-3WW-11@gated-at.bofh.it>
     [not found]   ` <gYf4B-3WW-13@gated-at.bofh.it>
     [not found]     ` <gYf4B-3WW-15@gated-at.bofh.it>
     [not found]       ` <gYf4B-3WW-17@gated-at.bofh.it>
     [not found]         ` <gYf4B-3WW-7@gated-at.bofh.it>
     [not found]           ` <gYgal-5KW-13@gated-at.bofh.it>
2011-05-30 22:08             ` David W Noon
2011-05-31  2:29               ` Dale
2011-05-31  5:35                 ` Graham Murray
2011-05-31  6:22                   ` Dale
2011-05-31  6:45               ` Alan McKinnon
2011-05-31  7:01                 ` Volker Armin Hemmann
2011-05-31  7:59               ` Neil Bothwick
2011-05-31 12:34                 ` James Wall
2011-05-31 13:54                   ` Neil Bothwick
     [not found] <gWtbJ-3ey-43@gated-at.bofh.it>
     [not found] ` <gWtlo-3t9-7@gated-at.bofh.it>
     [not found]   ` <gY4iS-2dC-25@gated-at.bofh.it>
2011-05-30 14:48     ` David W Noon
2011-05-30 15:58       ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DE400EA.2040901@binarywings.net \
    --to=lists@binarywings.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox