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.
--
[email protected] mailing list