There is incorrect postrotate script in /etc/logrotate.d/cobblerd file:
postrotate if [ -f /var/lock/subsys/cobblerd ]; then /etc/init.d/cobblerd condrestart > /dev/null fi endscript
It looks like we need to use another approach to restart cobblerd after logs are rotated.
There is incorrect postrotate script in /etc/logrotate. d/cobblerd file:
postrotate subsys/ cobblerd ]; then
/etc/ init.d/ cobblerd condrestart > /dev/null
if [ -f /var/lock/
fi
endscript
It looks like we need to use another approach to restart cobblerd after logs are rotated.