[Yum] Configuration file precedence

Russell Harrison rtlm10 at gmail.com
Tue Aug 21 17:40:40 UTC 2007


On 8/21/07, Wayne Sweatt <sweatt at lanl.gov> wrote:
> Against what I read in the yum.conf man page, and against what I
> would consider normal design for parsing/processing configuration
> files, it seems that my yum.conf file is trumping my yum.repos.d
> files when setting the "gpgcheck" directive.
> The yum.conf file always wins. Shouldn't the more detailed config
> always override the global one? The yum.conf file says that if I set
> "gpgcheck=1" in the yum.conf file - that only sets the "default"
> action for the repos, implying that I can override the default with
> an explicit "gpgcheck=0" in a given repos.d config file.

The behavior you have described is the behavior I see using yum 2.4.3
(on RHEL 4) and above (fedora).  Is it possible for you to upgrade
yum.  You may have run across a bug that is already fixed in the more
recent versions.

----
Russell Harrison
Systems Administrator -- Linux Desktops
Cisco Systems, Inc.



More information about the Yum mailing list