Description of problem: After an upgrade from spacewalk 1.1, httpd is missing the file /etc/rhn/satellite-httpd/conf/satidmap.pl Version-Release number of selected component (if applicable): http://koji.spacewalkproject.org/spacewalk/split/spacewalk-5E/server/spacewalk-5E-1.2/x86_64/os/ How reproducible: Only tried upgrading once Steps to Reproduce: 1. Upgrade following https://fedorahosted.org/spacewalk/wiki/HowToUpgrade 2. rhn-satellite start (part of the above howto) 3. Read printed output Actual results: Starting httpd: Syntax error on line 7 of /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf: RewriteMap: file for map KeyToSatId not found:/etc/rhn/satellite-httpd/conf/satidmap.pl [FAILED] Expected results: Starting httpd: [ OK ] Additional info: # ls /etc/rhn/satellite-httpd/conf/satidmap.pl ls: /etc/rhn/satellite-httpd/conf/satidmap.pl: No such file or directory # yum provides */satidmap.pl | grep satidmap.pl Filename : /usr/share/rhn/satidmap.pl
Created attachment 460816 [details] proposed patch, changing the path in the erroneus config file
The file /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf in spacewalk-config-1.2.7-1.el5.noarch.rpm contains RewriteMap KeyToSatId prg:/usr/share/rhn/satidmap.pl Can you check that you have spacewalk-config updated, and why it does not have the correct content?
Upon upgrade the new config file was stored in /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf.rpmnew since the OP had some changes in the original rhn_monitoring.conf file. I've not updated HowToUpgrade, noting to check .rpmnew files. This is really NOTABUG but let's move to ON_QA to recheck.
With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE. https://www.redhat.com/archives/spacewalk-list/2010-November/msg00111.html