Description of Problem:
Proxy setting defined by rhn_register --configure is not correctly used - first 7 characters of the hostname are truncated.
Steps to Reproduce:
1. rhn_register --configure
2. 1. enableProxy Yes, 2. httpProxy somename.somedomain:3128
3. tcpdump -s 300 host your_nameserver
in tcpdump output can be seen that there is an "A" query for e.somedomain, i.e. for proxy name without first 7 characters.
it shall be query for the right name.
In rhnreg.py line 49
proxyHost = cfg.readEntry("httpProxy")[7:]
helps to change from 7 to 0:
proxyHost = cfg.readEntry("httpProxy")[0:]
and then everything works fine.
This issue is resolved and the fix will be coming out in the next release of
The short term fix is to use a proxy name in
the format of "http://foo.bar.com:8192"
The comments in the config file indicate otherwise, but that will
be fixed in the new version as well.