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:
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).
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! :)
Fair enough, changed in spacewalk.git master in commit a7e090fb93f5720d618da1e658b5d2c4b300562b
Spacewalk 1.6 has been released.