[CentOS] noReplaceConfig equivalent for /etc/yum.conf

Fri Jul 16 23:48:08 UTC 2010
Karanbir Singh <mail-lists at karan.org>

On 07/16/2010 11:44 PM, FHDATA wrote:
> noReplaceConfig[comment]=When selected, no packages that would change
> configuration data are automatically installed
> noReplaceConfig=1


yum does not automatically install anything. you would need to initiate 
an install / update operation by hand.

Having said that, it should not be too hard to write a plugin that would 
force a user confirm for any package that drops or touches a file in 
/etc ( assuming you can get to a stage where /etc/* does represent all 
config data on a machine ).

Alternatively, you could do it where the package payload is checked for 
config metadata.

- KB