--- clamav.orig 2009-02-12 02:35:19.042274068 -0200 +++ clamav 2009-02-12 02:36:29.868138126 -0200 @@ -13,6 +13,10 @@ start) # if clamd isn't started first, notifyclamd fails at times if [ "$START_CLAMD" == "yes" ]; then + if [ ! -d /var/run/clamav ]; then + mkdir /var/run/clamav + chown clamav /var/run/clamav + fi stat_busy "Starting ClamD" [ -z "$PID_CD" ] && /usr/sbin/clamd if [ $? -gt 0 ]; then