Re: Configuration file precedence

"Russell Harrison" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
On 8/21/07, Wayne Sweatt <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.