Bug 126157 - rhnreg_ks URL not modifiable?
rhnreg_ks URL not modifiable?
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Registration (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Adrian Likins
Red Hat Satellite QA List
Depends On:
  Show dependency treegraph
Reported: 2004-06-16 15:31 EDT by greg pryzby
Modified: 2009-08-21 18:03 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-08-21 18:03:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description greg pryzby 2004-06-16 15:31:19 EDT
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, 


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:

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

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

Additional info:
Comment 2 Clifford Perry 2009-08-21 18:03:48 EDT
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. 


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