On Mon, 07 Jun 2004 at 14:33:41 +1000, Bill Maidment wrote:
> Graham Toal wrote:
>
> >Are you sure it's not still writing to the old file? If it was already
> >open for write, and left open rather than opened/closed on every write,
> >that's a definite possibility. Even if the file is rm'd, unix can
> >still let a process write to an open file. The space isn't recovered
> >until the file is closed.
> >
> >
> Yep that was it. So I need to stop freshclam and clamd before logrotate
> and start them after logrotate? What a bore!
You mean _manual_ restarting? No...
In clamav related files in /etc/logrotate.d/ use directives like these:
delaycompress
postrotate
/etc/init.d/clamav-freshclam reload > /dev/null
endscript
--
Tomasz Papszun SysAdm @ TP S.A. Lodz, Poland | And it's only
[EMAIL PROTECTED] http://www.lodz.tpsa.pl/iso/ | ones and zeros.
[EMAIL PROTECTED] http://www.ClamAV.net/ A GPL virus scanner
-------------------------------------------------------
This SF.Net email is sponsored by: GNOME Foundation
Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users