Red Hat Bugzilla – Bug 206734
wrong URL's in /etc/sysconfig/rhn/up2date can cause yum to hang
Last modified: 2013-01-10 03:55:14 EST
Description of problem:
Certain forms of bogus URL's in /etc/sysconfig/rhn/up2date can cause yum to hang
indefinitely. As far as I can tell, there's no good way to figure out the
source of the error.
Wrong URL's originally used that hang yum:
Correct (no-hang) URL's:
How I stumbled upon this: In this particular example, I keyed in the wrong
URL's to rhn_reg_ks and then found this out when I tried to use yum for the
first time. You can still get the same symptom by changing an existing
installation to the "wrong" URL's above.
Version-Release number of selected component (if applicable):
RHEL 5 Beta 1
Steps to Reproduce:
1. Install RHEL 5.
2. edit /etc/sysconfig/rhn/up2date to use the following server URL's
3. yum update
yum hangs and must be killed or suspended (Ctrl+C doesn't work).
An eventual error message about the connection problem should be shown and yum
certain "wrong" URL's (such as just changing the string "webqa" to "bogus", i.e.
http://xmlrpc.rhn.bogus.redhat.com/XMLRPC *don't* cause an infinite hang, they
eventually cause a connection failed traceback, I didn't explore much further to
find out exactly what part of the URL being wrong caused problems, though the
first "wrong" URL's mentioned in this report do cause the lockup.
This is the same bug as #177062. But we'll leave this one open, I guess, since
it's for RHEL 5.
And just like #177062, it should be fixed.
It only happens if someone misconfig it. Not a blocker.
A package has been built which should help the problem described in
this bug report. This report is therefore being closed with a resolution
of CURRENTRELEASE. You may reopen this bug report if the solution does
not work for you.