[clamav-users] freshclam and various formats of base

Sergey a_s_y at sama.ru
Thu Jun 26 06:37:21 UTC 2014


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



More information about the clamav-users mailing list