From owner-freebsd-hackers Fri Jul 24 02:49:42 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01684 for freebsd-hackers-outgoing; Fri, 24 Jul 1998 02:49:42 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [194.93.177.113]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01516 for ; Fri, 24 Jul 1998 02:48:41 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.8.8/8.8.8) id MAA17830; Fri, 24 Jul 1998 12:43:59 +0300 (EEST) (envelope-from ru) Message-ID: <19980724124358.A17572@ucb.crimea.ua> Date: Fri, 24 Jul 1998 12:43:58 +0300 From: Ruslan Ermilov To: hackers@FreeBSD.ORG, andreas@klemm.gtn.com Subject: Bug in the latest change to /etc/security Mail-Followup-To: hackers@freebsd.org, andreas@klemm.gtn.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i X-Operating-System: FreeBSD 2.2.7-STABLE i386 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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