On Tue, 03 Feb 2004 at 9:57:02 +0200, Tuomo Soini wrote:
> Dennis Skinner wrote:
>
> >Seems to work fine for me. Try the copytruncate option.
>
> Copytruncate is only work-around that bug. Clamd doesn't close logfile
> and open it again as it should when it's getting SIGHUP. And same
> applies to freshclam.
>
It may be true, unfortunately.
I'd like to stress that, though logrotate and clamd cooperate for me, it
may be the effect of restarting clamd, not "SIGHUPping" it:
postrotate
/etc/init.d/clamav-daemon force-reload
endscript
The entry "force-reload" contains 'stop; sleep; start'.
I haven't tried SIGHUP.
--
Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only
[EMAIL PROTECTED] http://www.lodz.tpsa.pl/ | ones and zeros.
[EMAIL PROTECTED] http://www.ClamAV.net/ A GPL virus scanner
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users