Install natty
apt-get update
apt-get install cobbler
(Add a repo, a fake empty one will do, it makes no difference):
cobbler repo add --name=test --mirror=/root/random (which is empty)
cobbler reposync
debug:
task started: 2011-02-02_151219_reposync
task started (id=Reposync, time=Wed Feb 2 1
Install Natty
apt-get update
apt-get install cobbler dhcp3-server
(Fix Proxy Settings for Apache)
change manage_dhcp: 0 to manage_dhcp: 1 in /etc/cobbler/settings
service cobbler restart
cobbler sync
It will fail with:
running python trigger cobbler.modules.sync_post_restart_services
running: dh
Public bug reported:
Binary package hint: cobbler
createrepo is not listed as a dependency but is if you are going to use
repo's at all.
Also, one of the final steps of reposync is:
cmd1 = "chown -R root:apache %s" % repo_path
utils.subprocess_call(self.logger, cmd1)
Which fails be
Public bug reported:
Binary package hint: cobbler
Clean Natty install
Using cobbler 2.1.0~bzr1988-0ubuntu1
sync_post_restart_services.py is used to restart services after a
'cobbler sync'. It correctly tests the dhcpd config but then fails to
restart it.
It's executing 'service dhcpd restart',