Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20223

Summary: removing old configs with etc-update
Product: Portage Development Reporter: Martti Rannanjärvi <mrannanj>
Component: CoreAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: bitflesh, crusaderky, flash3001, greg_g, ploujj, stian
Priority: High    
Version: 2.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 22064, 93847    
Bug Blocks: 26807    

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 ***