The init script was recently updated to chown the log files on startup. It incorrectly chowns the freshclam.log file to the user running clamd, not the user running freshclam: I have user clamav run freshclamd and user amavis run clamd. * Caching service dependencies ... [ ok ] * Stopping clamd ... [ ok ] * Stopping freshclam ... [ ok ] * Starting clamd ... Running as user amavis (UID 109, GID 1018) [ ok ] * Starting freshclam ... ERROR: Can't open /var/log/clamav/freshclam.log in append mode (check permissions!). ERROR: Problem with internal logger (UpdateLogFile = /var/log/clamav/freshclam.log). * Failed to start freshclam [ !! ]
Created attachment 116188 [details, diff] clamav.rc.patch Here's the fix.
Ah, right - look like I missed that and just assumed the same user as for clamd. Applied, thanks!