misc/158121: The "security run output" contains log entries
which are a year old.
Jaakko Heinonen
jh at FreeBSD.org
Wed Jun 22 04:40:14 UTC 2011
The following reply was made to PR misc/158121; it has been noted by GNATS.
From: Jaakko Heinonen <jh at FreeBSD.org>
To: Jesper Wallin <jesper at ifconfig.se>
Cc: bug-followup at FreeBSD.org
Subject: Re: misc/158121: The "security run output" contains log entries
which are a year old.
Date: Wed, 22 Jun 2011 07:32:25 +0300
On 2011-06-21, Jesper Wallin wrote:
> The log entries in /var/log/auth.log does not contain the year.
> Because of this, if you rarely logon to the machine (or for some other
> reason doesn't manage to reach the 100K limit before newsyslog rotate
> your auth.log) the "security run output" will send you a year old
> logs. :-)
> >Fix:
> Make newsyslog rotate auth.log regardless of it's size or make somehow
> make sshd/syslogd log the year as well.
You can configure interval based rotation in /etc/newsyslog.conf . See
the description for "when" field in newsyslog.conf(5) manual page.
--
Jaakko
More information about the freebsd-bugs
mailing list