Red Hat Bugzilla – Bug 292761
error from cobbler logrotate
Last modified: 2007-11-30 17:12:15 EST
Description of problem:
The cobbler logrotate config file needs the "missingok" keyword to suppress an
error from logrotate if no log files are present.
are also redundant since they are present in the system-default logrotate.conf,
so should be omitted in per-service files. I suggest having:
if [ -f /var/lock/subsys/cobblerd ]; then
Being explicit doesn't hurt anything, though I've added the missingok and
notifempty for the next release.