Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27890 - etc-update feature request: save overwritten config files
Summary: etc-update feature request: save overwritten config files
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-03 18:54 UTC by Mark E. Drummond
Modified: 2011-10-30 22:35 UTC (History)
0 users

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 Mark E. Drummond 2003-09-03 18:54:45 UTC
I don't think etc-update does this for us now so here's a request: it would be 
very useful if etc-update would (perhaps optionally) save config files it 
overwrites (either automatically or interactively). Let's say it renames a 
file to something like ._bak####_filename or ._bakCCYYMMDDHHMM_filename. 
 
Mark 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2003-09-04 04:36:06 UTC
read about use-rcs in dispatch-conf.conf 
Comment 2 Mark E. Drummond 2003-09-04 08:48:27 UTC
My understanding (based on the Forums since the file mentioned is useless re: 
comments, man dispatch-conf returns nothing, and there is no 
/usr/doc/dispatch-conf) is dispatch-conf is a separate utility, not part of 
etc-update. 
 
This is obviously something the etc-update should, at least optionally, do. 
Not only does this allow you to back out if the updated file is borked, but it 
also saves people from accidentally overwriting config files. It can't be too 
complicated to add some code to the script to save a copy of the file being 
overwritten. 
 
Mark 
Comment 3 SpanKY gentoo-dev 2003-09-04 09:38:05 UTC
dispatch-conf is used by portage afaik ... nick could back me up on this and/or 
re-open the bug ... 
 
/etc/dispatch-conf.conf