Bug 745438 - up2date_config.py contains URL to a unknown server
Summary: up2date_config.py contains URL to a unknown server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 1.6
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space16
TreeView+ depends on / blocked
 
Reported: 2011-10-12 11:29 UTC by Alexander Davidsen
Modified: 2011-12-22 16:50 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-22 16:50:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Alexander Davidsen 2011-10-12 11:29:17 UTC
Description of problem:
up2date_config contains a variable update to http://hokeypokeyland.org/XMLRPC that will be set if serverURL is not listed in disallowConfChanges in /etc/sysconfig/rhn/up2date. 

I'm having a problem seeing why this is set to a outside url, not the spacewalk-server or for example localhost. If someone changes disallowConfChanges to allow serverURL update, serverURL will be set to http://hokeypokeyland.org/XMLRPC.

Version-Release number of selected component (if applicable):
1.5.0 (server, also found the same url in git 1.6)

How reproducible:
Very. works every time


Steps to Reproduce:
1. change disallowConfChanges to allow serverURL update
2. Run up2date_client.py
  
Actual results:
serverURL now set to http://hokeypokeyland.org/XMLRPC in /etc/sysconfig/rhn/up2date.

Expected results:
This should not be set to an outside url. If no value is given to serverURL, the program should give a error...

Additional info:

Comment 1 Milan Zázrivec 2011-10-14 09:22:56 UTC
The up2date_client.py module is not really meant to be run by hand as is
shown in the reproducing steps and the part of the module that changes
the serverURL settings is meant as a test really.

I'm wondering -- how do you use this module? We currently do not have
any server side functionality to support this (I believe).

Comment 2 Alexander Davidsen 2011-10-14 13:05:09 UTC
We do not use this module directly. This was discovered when we read the source code of the up2date-client. 

If this is just for testing, I would suggest that it's changed to a nonexisting-domain or for example localhost to avoid confusion! :)

Comment 3 Milan Zázrivec 2011-10-19 10:17:40 UTC
Fair enough, changed in spacewalk.git master in commit
a7e090fb93f5720d618da1e658b5d2c4b300562b

Comment 4 Milan Zázrivec 2011-12-22 16:50:43 UTC
Spacewalk 1.6 has been released.


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