Bug 1102575

Summary: Environment variable substitution in yum.conf doesn't work
Product: Red Hat Enterprise Linux 6 Reporter: Karel Srot <ksrot>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: low Docs Contact:
Priority: low    
Version: 6.5CC: james.antill, jzeleny, ksrot, nerawat, vmukhame
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: yum-3.2.29-59.el6 Doc Type: Bug Fix
Doc Text:
Cause: use environment variables $YUM0-$YUM9 in yum.conf Consequence: variables aren't substituted with their values Fix: patch Result: variables are substituted with their values in yum.conf
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 04:37:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Karel Srot 2014-05-29 09:01:07 UTC
Description of problem:

# cat /etc/yum.conf | grep retries
retries=$YUM0
# YUM0=7 yum-config-manager | grep retries
Options Error: Error parsing "retries = '$YUM0'": invalid integer value

See also bug 977380 that is fixing the problem for *.repo files.


Version-Release number of selected component (if applicable):
yum-3.2.29-40.el6

How reproducible:
always

Comment 10 errata-xmlrpc 2014-10-14 04:37:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1410.html