[CentOS] Logrotate error?

Robert

kerplop at sbcglobal.net
Fri Apr 13 14:23:41 UTC 2007


This was in root's mail on a newly-installed CentOS-5 system.

    To: root at beauregard.localdomain
    Content-Type: text/plain; charset="ANSI_X3.4-1968"
    Subject: Anacron job for 'beauregard.localdomain' cron.daily
    /etc/cron.daily/logrotate:

    error: sa-update:3 unknown option 'notifyempty' -- ignoring line
                                            ^
                                            |
                                            *

But after looking at the file in question, it sure appears
to me that the "y" is the result of a "typo" on the
part of logrotate -- and who ever heard of machines making typos!

    root at beauregard logrotate.d]# cat sa-update
    /var/log/sa-update.log {
        monthly
        notifempty
        missingok
    }
    [root at beau



Perhaps the Menehune, speaking Jabberwocky?  :-)
At any rate, there are 16 files in /etc/logrotate.d containing
a "notifempty" line and it hiccuped only the one time.




More information about the CentOS mailing list