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 via email to