From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] logrotate
Date: Thu, 04 Aug 2005 14:54:32 +0200 [thread overview]
Message-ID: <42F21008.5060305@asmallpond.org> (raw)
In-Reply-To: <200508031510.06784.uwix@iway.na>
Uwe Thiem wrote:
>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?
>
>
>
Why is lastlog growing forever??? Doesn't that only track the most
recent logins by userid? It seems to me that file should only grow if
you add users.
And Etaoin is correct, that block only rotates /var/log/wtmp. The
comment is misleading/wrong.
-Richard
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-04 13:09 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
2005-08-03 14:32 ` Etaoin Shrdlu
2005-08-04 12:54 ` Richard Fish [this message]
[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=42F21008.5060305@asmallpond.org \
--to=bigfish@asmallpond.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