Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20223 - removing old configs with etc-update
Summary: removing old configs with etc-update
Status: RESOLVED DUPLICATE of bug 8423
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 45792 94553 (view as bug list)
Depends on: 22064 93847
Blocks: 26807
  Show dependency tree
 
Reported: 2003-04-30 13:05 UTC by Martti Rannanjärvi
Modified: 2011-10-30 22:38 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martti Rannanjärvi 2003-04-30 13:05:24 UTC
Hi,

Config protect is a good things, yes. But bloating /etc is not.

Maybe portage should touch a ._cfg0000_name and when etc-update detects it's
empty, it would remove the file?
Comment 1 SpanKY gentoo-dev 2003-04-30 16:05:46 UTC
i dont see the problem and/or the solution ... explain it more ?
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2003-04-30 18:51:24 UTC
It sounds good to me. Suppose you unmerge a package which contains a file config_protected, 
portage should touch an empty ._cfg0000_name and then when running etc-update, you should 
be asked: 
1) remove file _name_ 
2) keep file _name_ 
... 
Comment 3 Martti Rannanjärvi 2003-05-01 09:48:29 UTC
Heh.

My first message was very confusing, but Gregorio got it right :)
Comment 4 Gregorio Guidi (RETIRED) gentoo-dev 2004-03-18 07:14:56 UTC
Could be marked as dup of bug #43066 ?
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2004-03-26 04:02:54 UTC
*** Bug 45792 has been marked as a duplicate of this bug. ***
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-04-26 17:17:54 UTC
Perhaps a dupe of 8423, also check out the script at the end that detects orphaned files.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-30 15:18:28 UTC
*** Bug 94553 has been marked as a duplicate of this bug. ***
Comment 8 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:26:11 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:06:29 UTC
Reopen for duping
Comment 10 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:06:52 UTC

*** This bug has been marked as a duplicate of bug 8423 ***