Everyone,

I have a work around to this problem.  Very much a klug but it works.

I posted some problems I have been having with two RH 8.0 system while using
freshclam to download new daily updates.  I received some good advice from Phil
Randal to update to 075.1 I had been using .070.  When I updated both systems
freshclam worked great on one machine (run level=5), but still did not function
problem on the other (run=3).  I made another post to the list but did not get any
additional answers.  I did receive some off-list emails from others with the same
problem so I thought I would send this to the list letting everyone know there is a
klug fix.

After checking permissions and owners of the directories and files I found that both
machines had the same protocols.

I found that by using the option of --user=root with freshclam I was able to get
freshclam to work properly with the exception that the daily.cvd files were owned by
root instead of clamav.

In order to get the downloads and leave the system with files having clamav as owner
and group with the proper protections I did the following:

1. removed the freshclam cronjob from clamav
2. created similar cronjob in root to activate the following script:

# Klug to fix "Error - Verification: Broken or not a CVD file"
/usr/local/bin/freshclam --quiet -l /var/log/clam-update.log --user=root
cd /usr/local/share/clamav/
chown clamav daily.cvd
chgrp clamav daily.cvd
chmod 644 daily.cvd

I would prefer to have the original cronjob in clamav so if there are other solutions
I would like to know.

Thanks,

Greg Ennis








-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to