public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] logrotate
Date: Wed, 3 Aug 2005 13:11:24 +0200	[thread overview]
Message-ID: <200508031311.24650.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <200508031154.57143.uwix@iway.na>

On Wednesday 03 August 2005 12:54, Uwe Thiem wrote:

> Hi folks,
>
> from /etc/logrotate.conf:
>
> -----
> # no packages own lastlog or wtmp -- we'll rotate them here
> /var/log/wtmp {
>     monthly
>     create 0664 root utmp
>     rotate 1
> }
> -----
>
> It states it rotates lastlog (/var/log/lastlog) but it doesn't and my
> lastlog grows forever. Doesn't seem right. Anybody else seeing the
> same or have I messed up?

Probably missing something (I don't use logrotate), but seems to me that 
the above fragment only deals with /var/log/wtmp. To 
have /var/log/lastlog rotated, add another section for it.
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-08-03 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-03 10:54 [gentoo-user] logrotate Uwe Thiem
2005-08-03 11:11 ` Etaoin Shrdlu [this message]
2005-08-03 14:10   ` Uwe Thiem
2005-08-03 14:32     ` Etaoin Shrdlu
2005-08-04 12:54     ` Richard Fish
     [not found] <6b16fb4c0809260048jb340d36qf5175e272f09b140@mail.gmail.com>
2008-09-26  7:49 ` Kaushal Shriyan
2008-09-27  7:10   ` Alan McKinnon

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=200508031311.24650.shrdlu@unlimitedmail.org \
    --to=shrdlu@unlimitedmail.org \
    --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