if FRESHCLAM_LOG is not specified in /etc/conf.d/clamd, freshclam fails to start. Reproducible: Always Steps to Reproduce: 1. Comment FRESHCLAM_LOG in /etc/conf.d/clamd. 2. Restart clamd. 3. freshclam is not able to start The problem comes from the clamd init script : freshclam is always started with -l option to specify a log file. Even if there isn't any log file defined.
Created attachment 35811 [details, diff] patch to clamd.rc to fix FRESHCLAM_LOG handling. This patch redefines correctly FRESHCLAM_OPTS to include FRESHCLAM_LOG if it's defined.
Related information : bug 43666
We are about to replace our current email virus scanner (McAfee) with ClamAV. Since we want to use syslog for logging, we have a particular interest in this bug.
fixed that one today. it's in portage tree by now i think