Bug 458858 - rhn-client-tools should be sanitized to not hit rhn.redhat.com
Summary: rhn-client-tools should be sanitized to not hit rhn.redhat.com
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 0.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact: Mike McCune
URL:
Whiteboard:
Depends On:
Blocks: space07
TreeView+ depends on / blocked
 
Reported: 2008-08-12 17:49 UTC by Mike McCune
Modified: 2009-12-07 12:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-07 12:02:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Mike McCune 2008-08-12 17:49:53 UTC
If we patch rhnlib to not hit rhn.redhat.com for updates this library will be more generically useful to other distributions of Linux (CentOS and Fedora).

Comment 1 Pradeep Kilambi 2008-09-26 19:17:43 UTC
hmm not sure I completely understand what this bug is intended for, rhnlib gets the serverUrl info directly from what the update client sends it. rhnlib is a generic wrapper around python xmlrpclib which has no info of rhn.redhat.com (code wise). So up2date/yum reads the /etc/sysconfig/rhn/up2date and creates an rhnserver object thats being referenced to talk to the xmlrpc layer on the server through rhnlib.

unless you're referring to the url comment references pointing rhn.redhat.com in the spec file and other setup info?

Comment 2 Mike McCune 2008-10-16 23:43:19 UTC
ok, so by default if you install:

yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin

from our spacewalk Fedora repo you get:

# grep rhn.redhat.com /etc/sysconfig/rhn/*
/etc/sysconfig/rhn/up2date:serverURL=https://xmlrpc.rhn.redhat.com/XMLRPC

and rhnreg_ks will default to talking to xmlrpc.rhn.redhat.com

We should make it so we do NOT default that to xmlrpc.rhn.redhat.com so our client bits can be included in CentOS and other distros.

that make sense?

Comment 3 Pradeep Kilambi 2008-10-17 00:21:30 UTC
ah thats rhn-client-tools not rhnlib. ok I'll look into it.

Thanks

Comment 4 Jesus M. Rodriguez 2008-11-25 19:21:39 UTC
changed summary to be 'rhn-client-tools should be sanitized to not hit rhn.redhat.com' instead of 'rhnlib should be sanitized to not hit rhn.redhat.com'

Comment 5 Miroslav Suchý 2009-12-02 16:06:14 UTC
Done in commit cd925d940357d145c7106c1c3ed6ed12dff29e9d

Changed url from xmlrpc.rhn.redhat.com to enter.your.server.url.here

Comment 6 Miroslav Suchý 2009-12-07 12:02:36 UTC
Spacewalk 0.7 released.


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