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

Bug 117780

Summary: etc-update should keep md5 sums of config files
Product: Gentoo Linux Reporter: Brandon Peters <brandon.peters>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Brandon Peters 2006-01-04 13:03:25 UTC
etc-update should keep md5 sums of each file it updates. Then, when etc-update is run again, it can compare the md5 sum on the system, with the md5 sum of the current configuration file on the system. If they are the same, then etc-update doesn't have to ask the user about updating the current configuration file with the new configuration file. This is because the user has not changed that file from the last update. However, if the md5 sums differ, then etc-update can ask the user if they want to update the file. This way, the user is not bothered with updates that are not important to the user and the user only has to worry about the files they have changed. This could be implemented as a command line argument to etc-update, or a configuration option.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-04 13:13:32 UTC
This works just fine with dispatch-conf, so this request is kinda redundant...

/etc/dispatch-conf.conf

# Automerge files comprising only CVS interpolations (e.g. Header or Id)
# (yes or no)
replace-cvs=yes

# Automerge files comprising only whitespace and/or comments
# (yes or no)
replace-wscomments=yes

# Automerge files that the user hasn't modified
# (yes or no)
replace-unmodified=yes


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