Bug 225039 - unknown option 'notifyempty'
unknown option 'notifyempty'
Status: CLOSED DUPLICATE of bug 223753
Product: Fedora
Classification: Fedora
Component: spamassassin (Show other bugs)
6
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Warren Togami
:
: 224563 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-27 13:45 EST by Nivag
Modified: 2007-11-30 17:11 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-01-29 08:13:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Nivag 2007-01-27 13:45:10 EST
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:
Comment 1 Nivag 2007-01-27 13:52:05 EST
Hmm... weird!

Looking more closely: the error refers to 'notifyempty' but the files actually
appear to contain 'notifempty'!!!

Actual email below:

From root@jupiter.localdomain  Sat Jan 27 04:06:06 2007
Date: Sat, 27 Jan 2007 04:04:03 +1300
From: root@jupiter.localdomain (Cron Daemon)
To: root@jupiter.localdomain
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


Comment 2 Scott McBrien 2007-01-28 06:46:34 EST
version of affected logrotate RPM:
logrotate.i386 3.7.4-9.fc6
Comment 3 Peter Vrabec 2007-01-28 07:44:06 EST
What locale do you use?

could you run 
#logrotate -v /etc/logrotate.conf
and see in which config file is the problem.
Comment 4 Peter Vrabec 2007-01-29 05:58:20 EST
*** Bug 224563 has been marked as a duplicate of this bug. ***
Comment 5 Tom Horsley 2007-01-29 07:06:14 EST
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).
Comment 6 Peter Vrabec 2007-01-29 08:09:30 EST
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.
Comment 7 Paul Howarth 2007-01-29 08:13:33 EST

*** This bug has been marked as a duplicate of 223753 ***

Note You need to log in before you can comment on or make changes to this bug.