Red Hat Bugzilla – Bug 76791
Last modified: 2008-05-01 11:38:04 EDT
Cups has internal logrotation set, what makes log rotatiuon inconsistent with
the rest of the system,
The best way is to set
in /etc/cups/cupsd.conf and rotate files using script in /etc/logrotate.d/
/etc/init.d/cups restart >/dev/null` 2>&1 || true
This will make log rotation more consistent.
/etc/init.d/cups restart >/dev/null 2>&1 || true
should not be used in scrip because
this will start cups even if it should not be started.
The best way is to use pid, put cups seems does not create such file
in /var/run/ directory.
This is fixed in cups-1.1.15-13, which will show up in rawhide shortly.
cups logs are by default *_log and not *.log, so cups.logrotate in rawhide needs
to be corrected.