[et-mgmt-tools] [Cobbler 0.3.6] mod_python piece of kickstart tracking busted for RHEL4U4, RHEL/Centos users please read.

Michael DeHaan mdehaan at redhat.com
Thu Jan 25 22:44:05 UTC 2007


Hi folks,

As I've just recently found out during testing, the kickstart tracking 
in 0.3.6 apparently is incompatible with the Apache in RHEL4 U4.   The 
new stuff in 0.3.7 to watch syslog is fine though, so I'll work on 
getting a fix out in 0.3.7 shortly.    Basically I'm going to look at 
/etc/redhat-release to decide how much kickstart tracking to install 
based on what the server can support.   Don't worry, you won't need to 
figure this out for yourselves :)

After a "cobbler sync", the workaround (for now) is to just edit 
/etc/httpd.conf/conf.d/cobbler.conf FROM

        #
        # This configuration file allows 'cobbler' boot info
        # to be accessed over HTTP in addition to PXE.
        AliasMatch ^/cobbler(/.*)?$ "/var/www/cobbler$1"
        AliasMatch ^/cobbler_track(/.*)?$ "/var/www/cobbler$1"
        <Directory "/var/www/cobbler">
            Options Indexes FollowSymLinks
            AllowOverride None
            Order allow,deny
            Allow from all
            AddHandler mod_python .py
            PythonOutputFilter watcher WATCHER
            AddOutputFilter WATCHER .rpm
            AddOutputFilter WATCHER .xml
            AddOutputFilter WATCHER initrd.img
            AddOutputFilter WATCHER vmlinuz
            AddOutputFilter WATCHER .py
            PythonDebug On
        </Directory>


to

        #
        # This configuration file allows 'cobbler' boot info
        # to be accessed over HTTP in addition to PXE.
        AliasMatch ^/cobbler(/.*)?$ "/var/www/cobbler$1"
        AliasMatch ^/cobbler_track(/.*)?$ "/var/www/cobbler$1"
        <Directory "/var/www/cobbler">
            Options Indexes FollowSymLinks
            AllowOverride None
            Order allow,deny
            Allow from all
        </Directory>

Not doing so may keep some files, such as initrd.img files, from being 
downloaded in their original (uncorrupted) state.

Thanks!    This will be fixed very soon.  

--Michael






More information about the et-mgmt-tools mailing list