Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 1998 12:43:58 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        hackers@FreeBSD.ORG, andreas@klemm.gtn.com
Subject:   Bug in the latest change to /etc/security
Message-ID:  <19980724124358.A17572@ucb.crimea.ua>

next in thread | raw e-mail | index | archive | help
Hi!

The change was made by Andreas Klemm as described in PR#7050.

I like this change, but it has a bug.

The /etc/security script runs daily, and every time it is running
it looks "login failures" and "refused connect" in /var/log/messages.

Suppose, I have the following line in my /etc/newsyslog.conf:
/var/log/messages			664  5	   *    168   Z

It means that my /var/log/messages rotates once a week.
Then, if I had "login failure" message on Monday, I'll get the same
message during the whole week until the next log rotation.

In the second case I have /var/log/messages rotating several times a day.
Then I will see the warning messages from latest log only.

Anyone has an idea how to fix?

Regards,
-- 
Ruslan Ermilov		Sysadmin and DBA of the
ru@ucb.crimea.ua	United Commercial Bank
+380.652.247.647	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980724124358.A17572>