Re: Logrotate error?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Robert <kerplop@xxxxxxxxxxxxx> wrote"

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

    To: root@xxxxxxxxxxxxxxxxxxxxxx
    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@beauregard logrotate.d]# cat sa-update
    /var/log/sa-update.log {
        monthly
        notifempty
        missingok
    }
    [root@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.
The same error occurred on FC6. Unfortunately, it looks like the fix never got brought forward to RHEL5. See this thread:

http://www.redhat.com/archives/fedora-list/2007-January/msg03939.html

Cheers,
Dave

--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux