public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Uwe Thiem <uwix@iway.na>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] logrotate
Date: Wed, 3 Aug 2005 15:10:06 +0100	[thread overview]
Message-ID: <200508031510.06784.uwix@iway.na> (raw)
In-Reply-To: <200508031311.24650.shrdlu@unlimitedmail.org>

On 03 August 2005 12:11, Etaoin Shrdlu wrote:
> 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.

Are you sure you aren't using it? Have you looked into /etc/cron.daily?

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2005-08-03 14:16 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
2005-08-03 14:10   ` Uwe Thiem [this message]
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=200508031510.06784.uwix@iway.na \
    --to=uwix@iway.na \
    --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