Red Hat Bugzilla – Bug 647134
yum does not honour timeout=x for mirrorlists
Last modified: 2014-01-21 01:19:40 EST
Description of problem:
yum fails to take into account the timeout=x value when using mirrorlists. yum will attempt to conect to a mirrorlist taking some 3 minutes before it decides it cannot conect. If we use baseurl this hnours the timeout parameter.
Version-Release number of selected component (if applicable):
Red Hat Enterprise Linux 5.4
Steps to Reproduce:
I added this in /etc/yum.repos.d/rhel.repo
then I set the iptables rule on this machine and run "yum update".
If the rule is
iptables -I OUTPUT 1 -p tcp --dport 80 -j DROP
yum will timeout after 3 mins.
If the rule is
iptables -I OUTPUT 1 -p tcp --dport 80 -j REJECT
yum will timeout almost immediately. Same thing if the file is not there, permissions denied etc.
yum will timeout after 3 mins,
yum should timeout as per the timeout parameter
Pretty sure this is the commit, that fixes it:
...however also note that we have:
...which is much more recent, for downloading gpgkeys.
*** Bug 709984 has been marked as a duplicate of this bug. ***
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.