Description of problem: root gets notified of error: unknown option 'notifyempty' According to the logrotate man page this is a valid option! I found 2 files in /etc/logrotate.d with this parameter: -rw-r--r-- 1 root root 71 Jan 13 05:34 cups /var/log/cups/*_log { missingok notifempty sharedscripts } -rw-r--r-- 1 root root 68 Jan 23 06:33 sa-update /var/log/sa-update.log { monthly notifempty missingok } Version-Release number of selected component (if applicable): ? How reproducible: allways Steps to Reproduce: automatic, daily cron job Actual results: Expected results: no error Additional info:
Hmm... weird! Looking more closely: the error refers to 'notifyempty' but the files actually appear to contain 'notifempty'!!! Actual email below: From root Sat Jan 27 04:06:06 2007 Date: Sat, 27 Jan 2007 04:04:03 +1300 From: root (Cron Daemon) To: root Subject: Cron <root@jupiter> run-parts /etc/cron.daily Content-Type: text/plain; charset=UTF-8 Auto-Submitted: auto-generated X-Cron-Env: <SHELL=/bin/bash> X-Cron-Env: <PATH=/sbin:/bin:/usr/sbin:/usr/bin> X-Cron-Env: <MAILTO=root> X-Cron-Env: <HOME=/> X-Cron-Env: <LOGNAME=root> X-Cron-Env: <USER=root> /etc/cron.daily/logrotate: error: sa-update:3 unknown option 'notifyempty' -- ignoring line
version of affected logrotate RPM: logrotate.i386 3.7.4-9.fc6
What locale do you use? could you run #logrotate -v /etc/logrotate.conf and see in which config file is the problem.
*** Bug 224563 has been marked as a duplicate of this bug. ***
On my system the error comes from /etc/logrotate.d/sa-update which is owned by spamassassin-3.1.7-4.fc5 (and the errors started the day after rpm -i says this was installed by a yum update).
thnx. Tom, I'm reassigning this bug to Warren Togami. # grep notifyempty /etc/logrotate.d/* /etc/logrotate.d/sa-update: notifyempty Warren rename notifyempty to notifempty , please.
*** This bug has been marked as a duplicate of 223753 ***