Bug 206734 - wrong URL's in /etc/sysconfig/rhn/up2date can cause yum to hang
Summary: wrong URL's in /etc/sysconfig/rhn/up2date can cause yum to hang
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: up2date
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Bryan Kearney
QA Contact: Beth Nackashi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-15 22:26 UTC by Michael DeHaan
Modified: 2013-01-10 08:55 UTC (History)
1 user (show)

Fixed In Version: beta2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-23 00:17:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Michael DeHaan 2006-09-15 22:26:37 UTC
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:

noSSLServerURL=http://rhn.webqa.redhat.com/xmlrpc
SSLServerURL=http://rhn.webqa.redhat.com/xmlrpc

Correct (no-hang) URL's:

noSSLServerURL=http://xmlrpc.rhn.webqa.redhat.com/XMLRPC
SSLServerURL=http://xmlrpc.rhn.webqa.redhat.com/XMLRPC

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

How reproducible:

Consistant

Steps to Reproduce:
1.   Install RHEL 5.
2.   edit /etc/sysconfig/rhn/up2date to use the following server URL's
3.   yum update
  
Actual results:

yum hangs and must be killed or suspended (Ctrl+C doesn't work).

Expected results:

An eventual error message about the connection problem should be shown and yum
should exit.

Additional info:

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.

Comment 1 James Bowes 2006-09-19 20:47:19 UTC
This is the same bug as #177062. But we'll leave this one open, I guess, since
it's for RHEL 5.

Comment 2 James Bowes 2006-09-25 16:06:15 UTC
And just like #177062, it should be fixed.

Comment 3 Fanny Augustin 2006-12-04 18:47:00 UTC
It only happens if someone misconfig it.  Not a blocker.

Comment 4 RHEL Program Management 2006-12-23 00:17:31 UTC
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.



Note You need to log in before you can comment on or make changes to this bug.