On Sat, Nov 17, 2012 at 4:38 PM, Benny Pedersen <[email protected]> wrote:
> francis picabia skrev den 16-11-2012 21:14:
>
>
>> This appears to be what the Debian system does when the freshclam
>> daemon handles things.  Should my Redhat cron
>> do the same?
>
>
> if you like to see redhat performs as badly as debian yes
>
> stop using cron to get clamav updated, stop using anything that is started
> with cron
>
> use freshclam, if freshclam gives you issues show them here

Maybe you misunderstood.  The cron was of freshclam run.

Anyway, to test if there was a difference I found an example of
an init script for Redhat and freshclam and set it up.  It runs
now as a daemon and I see like the cron of freshclam it
updates only two files:

-rw------- 1 amavis amavis      468 Nov 19 11:35 mirrors.dat
-rw-r--r-- 1 amavis amavis 18211328 Nov 19 11:35 daily.cld

The daily.* files are not extracted as they are in the Debian system.
Is there a conf variable associated with this?  I've already attempted
to improve the freshclam.conf on the Redhat with settings
I saw on Debian.

I currently have:

DatabaseDirectory /var/clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogSyslog yes
DatabaseOwner amavis
DatabaseMirror db.ca.clamav.net
DatabaseMirror db.local.clamav.net
NotifyClamd /etc/clamd.conf
Debug no
AllowSupplementaryGroups false
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to