[Spacewalk-list] Foolish me, keeping my systems up to date... cobbler... grr...

Ian Forde ianforde at gmail.com
Fri Oct 28 21:35:29 UTC 2011


Recently I updated cobbler on my both of my CentOS 5.7 Spacewalk 1.5
servers.  After figuring out (last week) that I needed to enable wsgi
in /etc/httpd/conf.d/wsgi.conf things worked again.  Until today when I
needed to kickstart a box.

Going to https://fedorahosted.org/cobbler/wiki/WhatsNewInTwoTwo I see
the following instructions:


> Before upgrading be sure to make a backup of /etc/cobbler
> and /var/lib/cobbler, this is where all your data resides. As some
> things have changed, read these before you get into reading about all
> the new features.
> 
> - Review/modify the /etc/cobbler/modules.conf.rpmnew file to include your site specific settings. Then move the new file into place.
> - Review/modify the /etc/httpd/conf.d/cobbler_web.conf.rpmnew file and move it into place.
> - Remove mod_python
> - Uncomment the LoadModule command in /etc/httpd/conf.d/wsgi.conf
> - Change $kickstart_start/_done to $SNIPPET('kickstart_start')/_done in the default kickstart template.

So, I did the first step - it's just making sure that I have "module = authn_spacewalk" rather than "module = authn_denyall"
Second step?  Nothing to do.  It put in the new file just fine.
Third step?  DO NOT DO THIS.  IT WILL ATTEMPT TO REMOVE SPACEWALK. (why oh why would this step be listed in the first place?)
Fourth step?  Found that one on my own.  Done.
Fifth step?  This is what I've run smack into.  The generated kickstart files all have a section around line 43 as such:

> %pre$kickstart_start
> 
> echo "Saving RHN keys..." > /dev/ttyS0
> SYSTEM_ID=/etc/sysconfig/rhn/systemid
> rhn_keys_found=no

So it appears that I have to change some default kickstart template.  Somewhere.  Anyone know where?

	-Ian




More information about the Spacewalk-list mailing list