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

2010-07-16 Thread FHDATA

Greetings,


In up2date config file there is a directive by the name of 
noReplaceConfig . . .

Do you know what is the /etc/yum.conf equivalent for that?

noReplaceConfig[comment]=When selected, no packages that would change
configuration data are automatically installed
noReplaceConfig=1


Thank you,

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


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

2010-07-16 Thread Karanbir Singh
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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos