From owner-freebsd-ports@FreeBSD.ORG Fri Mar 19 00:19:36 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01D3416A4CE for ; Fri, 19 Mar 2004 00:19:36 -0800 (PST) Received: from postman.arcor.de (postman4.arcor-online.net [151.189.0.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5979D43D41 for ; Fri, 19 Mar 2004 00:19:35 -0800 (PST) (envelope-from eikemeier@fillmore-labs.com) Received: from fillmore.dyndns.org (port-212-202-51-138.reverse.qsc.de [212.202.51.138]) (authenticated bits=0)i2J8JWD2002139 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 19 Mar 2004 09:19:33 +0100 (MET) Received: from [172.16.0.2] (helo=fillmore-labs.com) by fillmore.dyndns.org with esmtp (Exim 4.30; FreeBSD) id 1B4FE3-000H9R-1F; Fri, 19 Mar 2004 09:19:31 +0100 Message-ID: <405AAD12.8070906@fillmore-labs.com> Date: Fri, 19 Mar 2004 09:19:30 +0100 From: Oliver Eikemeier Organization: Fillmore Labs GmbH - http://www.fillmore-labs.com/ MIME-Version: 1.0 To: Alexander Zagrebin References: <20040319063847.GA34186@srv1.visp.ru> In-Reply-To: <20040319063847.GA34186@srv1.visp.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: KMail/1.5.9 cc: freebsd-ports@freebsd.org Subject: Re: clamd 0.67.1 doesn't reopens log file X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Mar 2004 08:19:36 -0000 Alexander Zagrebin wrote: > I have troubles with clamd's log rotation. > The problem in that, clamd doesn't reopens log file after signal. > To repeat: > cd /var/log/clamav > mv clamd.log clamd.log.1 > kill -1 `cat /var/run/clamav/clamd.pid` > After this clamd writes to log > Fri Mar 19 09:21:59 2004 -> SIGHUP catched: log file re-opened. > but doesn't creates clamd.log and continues write to clamd.log.1 > > Any suggestions (except clamd restarting)? Seems like this is only supported in clamav >= 0.70, in PR 64348: http://sourceforge.net/mailarchive/message.php?msg_id=7526139 -Oliver