Tomasz Papszun wrote:
On Mon, 02 Feb 2004 at 7:43:28 -0600, Daniel J McDonald wrote:

I was talking about that "_initially_" aspect. What happens later with
old logfiles is out of clamd interest.

That's not the problem. Problem is that kill -HUP doesn't affect clamd at all. It doesn't release old lockfile. My logrotate script is:


/var/log/clamav/clamd.log {
missingok
create 640 clamav clamav
postrotate
/bin/kill -HUP `cat /var/run/clamav/clamd.pid 2> /dev/null` 2> /dev/null || true
endscript
}


Problem is clamd won't release and re-open logfile. And same problem is with freshclam.

--
Tuomo Soini <[EMAIL PROTECTED]>
Linux and network services
+358 40 5240030
Foobar Oy <http://foobar.fi/>



-------------------------------------------------------
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

Reply via email to