From: Volker Armin Hemmann <volkerarmin@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Cleaning redundant configuration files
Date: Wed, 01 Jun 2011 20:10:19 +0200 [thread overview]
Message-ID: <5494053.NRLbeOI46p@localhost> (raw)
In-Reply-To: <20110601155758.3f197397@karnak.local>
On Wednesday 01 June 2011 15:57:58 David W Noon wrote:
> On Wed, 01 Jun 2011 01:20:02 +0200, Neil Bothwick wrote about Re:
>
> [gentoo-user] Cleaning redundant configuration files:
> >On Tue, 31 May 2011 17:26:43 +0100, David W Noon wrote:
> I'll trim my earlier quote down to the salient statement.
>
> >> >> It
> >> >> removes files that are still in the same state as when the
> >> >> package was emerged, but not those modified by the user.
> >> >
> >> >It doesn't remove *any* files that have been modified,
> >>
> >> Erm ... that's what I wrote, above.
> >
> >No it's not. You were referring to a special case of the general
> >statement I made.
>
> I can see no material difference in the two statements in question,
> unless you mean "by the user" is a special case. By whom else would
> files be modified externally to Portage?
>
> [snip]
>
> >It's quite simple logic, whether or not you agree with it. If a file is
> >modified, it is no longer the file portage installed, so portage does
> >not uninstall it. If anything, the problem is that the logic used by
> >portage is too simple.
>
> Yes, that is the way Portage currently works. But ...
>
> The contents of the file have been modified, but the file itself is
> still owned by the package. That's why etc-update, cfg-update, etc.,
> check any new version of the file when the package is upgraded: the
> file is still owned by the package.
>
> So, when the package is to be removed, the file should also be removed
> if the user has set an option so to do.
>
> The place where the current logic could be considered valid is when the
> file is an executable. If an executable has been modified outside of
> Portage then it is likely the user has installed a foreign package or a
> home grown program. One could argue that it is not the place of
> Portage to remove these.
>
> >> To repeat myself: I do not see a customized configuration file as
> >> being any more important than a vanilla one.
> >
> >A customised file contains an investment of the user's time, a generic
> >file does not. That investment may be small or great, but it is not
> >for portage to determine that value and remove the file without the
> >user's consent.
>
> How much is that investment worth when the entire package is being
> deleted? Remember: we are discussing the COMPLETE DELETION of a
> package, not an upgrade or rebuild.
>
> [snip]
>
> >We agree on the usefulness of a purge-like option but not on the
> >desirability or otherwise of the current default behaviour
>
> I called it an "annoyance". Having to clean up obsolete configuration
> files is just that, unless you can offer a better term.
so - what happens when you uninstall a package to cleanly install it again?
Happens from time to time - and I seriously would not want to see the
carefully personalized config file be moved to the big blue electron pool in
heaven.
next prev parent reply other threads:[~2011-06-01 18:13 UTC|newest]
Thread overview: 76+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 ` [gentoo-user] Cleaning redundant configuration files 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 [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] ` <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] ` <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] ` <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] <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] <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 ` David W Noon
2011-05-30 19:05 ` Neil Bothwick
2011-05-30 20:41 ` Florian Philipp
[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=5494053.NRLbeOI46p@localhost \
--to=volkerarmin@googlemail.com \
--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