freshclam returns exit code 1 if the virus databases are already up to date. The lines start-stop-daemon --start --quiet \ --exec /usr/bin/freshclam -- ${FRESHCLAM_OPTS} -l ${FRESHCLAM_LOG} eend $? "Failed to start freshclam" thus cause a misbehavior in that case, making eend and runscript believe there was an error starting frashclam. I will attach a (proposed) patch that solves this. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 36208 [details, diff] startup script fix
please try a newer version
I upgradet to version 0.75. It contains a bugfix related to freshclam logging, but the exit code problem persists.
please check if 0.75.1 and/or 0.80_rc3 still do it .. if so then i'll add the patch ..
0.75.1 still shows this bug
(Forgot to reopen)
How about 0.8x versions ?
This will be fixed in clamav-0.85-r1. Thanks a lot!