Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69841 - etc-update does not keep backups on auto-merges
Summary: etc-update does not keep backups on auto-merges
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
Depends on:
Reported: 2004-11-02 07:37 UTC by Ingo Hohmann
Modified: 2007-01-11 14:02 UTC (History)
0 users

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

adds auto backups (etc-update.diff,1.15 KB, patch)
2004-11-02 07:42 UTC, Ingo Hohmann
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Hohmann 2004-11-02 07:37:17 UTC
Like Linus put it: a big error is one you can't reverse. 

I propose that etc-update keeps backups of the files that have been merged

Reproducible: Always
Steps to Reproduce:
1. emerge some software
2. etc-update
3. answer -5 in the menu

Actual Results:  
config files have been overwritten without an update

Expected Results:  
it should have kept backups of my files
Comment 1 Ingo Hohmann 2004-11-02 07:42:03 UTC
Created attachment 43166 [details, diff]
adds auto backups

My try at adding a basic backup facility to etc-update.
Works for me.

Backup renaming has been chosen to 
- group all backups together
- group backups of the same file together
- be to see fast when a backup has been made
- minimize the possibility of name clashes
Comment 2 SpanKY gentoo-dev 2004-11-02 16:00:15 UTC
isnt this the point of `dispatch-conf` ?
Comment 3 Ingo Hohmann 2004-11-02 22:13:19 UTC
From the look of it, this seems likely,
I just never heared of it before, maybe it should be
mentioned in the output of emerge?
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:25:05 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 5 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 14:02:37 UTC
Closing due to old age, there are several alternatives to etc-update available.