Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   noReplaceConfig equivalent for /etc/yum.conf (http://www.linux-archive.org/centos/400390-noreplaceconfig-equivalent-etc-yum-conf.html)

FHDATA 07-16-2010 10:44 PM

noReplaceConfig equivalent for /etc/yum.conf
 
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

Karanbir Singh 07-16-2010 11:48 PM

noReplaceConfig equivalent for /etc/yum.conf
 
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


All times are GMT. The time now is 12:55 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.