Bug 126157 - rhnreg_ks URL not modifiable?
Summary: rhnreg_ks URL not modifiable?
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Registration
Version: unspecified
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Adrian Likins
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-16 19:31 UTC by greg pryzby
Modified: 2009-08-21 22:03 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-21 22:03:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description greg pryzby 2004-06-16 19:31:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Gecko/20040614 Firefox/0.8

Description of problem:
I followed the directions in RHN 3.2: Client Configuration Guide,
Chapter 6 to modify the bootstrap files. Once the script is placed on
the Proxy, the following line fails:

rhnreg_ks --force --activationkey $ACTIVATION_KEY

Looking at the code, 

/usr/share/rhn/register/config.py

sets the configuration file, but then it hard codes the serverURL
instead of reading it from /etc/sysconfig/rhn/rhn_register (line 128
and 131).


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


How reproducible:
Always

Steps to Reproduce:
1. rhnreg_ks --force --activationkey $ACTIVATION_KEY
2.
3.
    

Actual Results:  Network failed to connect because the box can not
reach http://xmlrpc.rhn.redhat.com/XMLRPC


Expected Results:  I would like the file to get serverURL from
/etc/sysconfig/rhn/rhn_register

Additional info:

Comment 2 Clifford Perry 2009-08-21 22:03:48 UTC
Assume this is a RHEL 2.1 reported bug. Since RHEL 2.1 is EOL'd - closing this out. I know for a fact that in current RHEL 3, 4 & 5 client code using rhnreg_ks with --serverUrl=<> will write to the config files this new serverUrl value. I do this all the time. 

Cliff


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