Hello.

Several years ago database format changed sometimes when
upgrading ClamAV. This does caused problems when restart
clamd after upgrade. This could be solved by means of
the package manager, RPM for example:
%post
for FNAME in `ls --ignore=*.socket /var/lib/clamav`; do
    [ -h /var/lib/clamav/$FNAME ] && continue
    [ -d /var/lib/clamav/$FNAME ] && rm -rf /var/lib/clamav/$FNAME
    [ -f /var/lib/clamav/$FNAME ] && rm -f /var/lib/clamav/$FNAME
done

Can it be not used it now ? The virus database is 
large now and download continues for a long time. Can
clamd ignore wrong format now ? Can freshclam to clear
/var/lib/clamav independently ?

-- 
Regards,
Sergey
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to