From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E0H6Q-0001su-NJ for garchives@archives.gentoo.org; Wed, 03 Aug 2005 11:08:09 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j73B6NG4013019; Wed, 3 Aug 2005 11:06:23 GMT Received: from um2.unlimitedmail.net (184.Red-213-96-204.pooles.rima-tde.net [213.96.204.184]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j73B20BN005620 for ; Wed, 3 Aug 2005 11:02:01 GMT Received: from ppp.zz ([137.204.208.98]) (authenticated bits=0) by um2.unlimitedmail.net (8.13.4/8.13.4) with ESMTP id j73B2QvZ023420 for ; Wed, 3 Aug 2005 13:02:27 +0200 From: Etaoin Shrdlu To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] logrotate Date: Wed, 3 Aug 2005 13:11:24 +0200 User-Agent: KMail/1.8.1 References: <200508031154.57143.uwix@iway.na> In-Reply-To: <200508031154.57143.uwix@iway.na> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508031311.24650.shrdlu@unlimitedmail.org> X-UnlimitedMail-MailScanner: Found to be clean X-UnlimitedMail-MailScanner-From: shrdlu@unlimitedmail.org X-Archives-Salt: 7d009895-6d2a-4381-9a22-f7b65f840f67 X-Archives-Hash: b07af8f43763a88e59c2b383f8221f45 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