Bug 250209

Summary: Yum proxy settings ignored when EPEL repo is installed
Product: Red Hat Enterprise Linux 5 Reporter: tony <tony1>
Component: yumAssignee: James Antill <james.antill>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 5.0CC: kevin, tla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-25 02:18:46 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description tony 2007-07-30 21:51:43 EDT
Description of problem: When the EPEL repo is installed, the proxy settings
residing in /etc/sysconfig/rhn/up2date are ignored. At my worksite, these proxy
name and password are required to access the wider world. After installation of
the EPEL, yum could not get through the proxy / firewall.

Version-Release number of selected component (if applicable):

How reproducible: Always

Steps to Reproduce:
1. type "yum update"
2. process hangs at 
3. "Setting up repositories"
4. Quitting by "ctrl c" brings up the following error message:

Could not retrieve mirrorlist
http://mirrors.fedoraproject.org/mirrorlist?repo=epel-5&arch=i386 error was
[Errno 4] IOError: <urlopen error (4, 'Interrupted system call')>
Error: Cannot find a valid baseurl for repo: epel
Actual results: See above

Expected results: The upgrade process to go ahead as normal

Additional info: I can get yum to work by entering the proxy:password details
before running the yum command.
Comment 1 Kevin Fenzi 2007-08-06 23:09:44 EDT
As far as I know yum doesn't have any way of reading the proxy settings that are
set in up2date. :( 

Does yum work natively to download your RHEL channels with the correct proxy
without having the epel repository enabled? 

This seems like an issue with the RHEL yum not being able to read those proxy
settings from up2date.
Comment 2 James Antill 2009-03-25 02:18:46 EDT
yum reads it's proxy info. from /etc/yum.conf ... however when using yum with yum-rhn-plugin, the RHN part takes over file downloads (due to the complexity of RHN interaction) and that uses the proxy info. in the up2date dir.