clamd 0.67.1 doesn't reopens log file

Oliver Eikemeier eikemeier at fillmore-labs.com
Fri Mar 19 00:19:36 PST 2004


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



More information about the freebsd-ports mailing list