public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jarry <mr.jarry@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] strange cron messages...
Date: Mon, 16 Nov 2009 18:56:41 +0100	[thread overview]
Message-ID: <4B019259.4090003@gmail.com> (raw)
In-Reply-To: <200911141753.24403.wonko@wonkology.org>

Alex Schuster wrote:
>> SUBJECT: Cron <root@obelix> test -x /usr/sbin/run-crons &&
>> /usr/sbin/run-crons
>> error: kernel:9 unknown option 'compytruncate' -- ignoring line
>> error: kernel:12 unknown option 'endscript' -- ignoring line
>> ------------------
> I assume you are using logrotate, and have the /etc/logrotate.d/kernel 
> file? I guess the 'compytruncate' is misspelled and should be 
> 'copytruncate'. And 'endscript' is used after using 'prerotate' or 
> 'postrotate', which you probably do not have.

You are right: I just quickly created logrotate config for kernel
by copying from other config, misspeled that "compytruncate",
erased "postrotate" script but forgot to delete "endscript".
I completely forgot about this change, and when I received
email with "error: kernel" I immediatelly thought of some
kernel misconfiguration...

> Something like that, I never used logrotate by myself. See the man page 
> for more information.

Let me ask: how do you deal with /var/log/wtmp? I think it does not
go through syslog, and even it it does, it is not easy to process it
whit that syslog-macro because it is not pure text file. Do you
let it grow forever? Or how do you transfer it to log-server?

Jarry

-- 
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



  parent reply	other threads:[~2009-11-16 18:05 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-14 14:01 [gentoo-user] strange cron messages Jarry
2009-11-14 16:53 ` Alex Schuster
2009-11-15 11:45   ` Mick
2009-11-16  7:05     ` Eray Aslan
2009-11-16  8:08       ` Graham Murray
2009-11-16 11:10         ` Eray Aslan
2009-11-16 12:46       ` Neil Bothwick
2009-11-16 15:55         ` Eray Aslan
2009-11-16 18:04           ` Alan McKinnon
2009-11-17  8:59           ` Neil Bothwick
2009-11-17 12:08             ` Eray Aslan
2009-11-17 12:43               ` Alan McKinnon
2009-11-17 15:08               ` Neil Bothwick
2009-11-17 15:25                 ` Eray Aslan
2009-11-17 16:08                   ` Neil Bothwick
2009-11-17 16:14                     ` Alan McKinnon
2009-11-16 17:38     ` Alex Schuster
2009-11-16 17:56   ` Jarry [this message]
2009-11-16 18:47     ` Alex Schuster
2009-11-16 20:09       ` Neil Walker
2009-11-16 22:14         ` Alan McKinnon
2009-11-17  2:35           ` Neil Walker
2009-11-17  8:32             ` Alan McKinnon
2009-11-16 22:31         ` Alex Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B019259.4090003@gmail.com \
    --to=mr.jarry@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox