There is a typo in /etc/init.d/clamd on line 15 if [ -n "$CLAMD_LOG}" -a ! -f "${CLAMD_LOG}" ]; then instead of if [ -n "${CLAMD_LOG}" -a ! -f "${CLAMD_LOG}" ]; then Reproducible: Always Steps to Reproduce: 1. /etc/init.d/clamd start with START_CLAMD=yes in /etc/conf.d/clamd 2. 3. Actual Results: skymoo root # /etc/init.d/clamd start touch: cannot touch `': No such file or directory chown: invalid argument: `' * Starting clamd... [ ok ] * Starting freshclam... [ ok ] Expected Results: skymoo root # /etc/init.d/clamd start * Starting clamd... [ ok ] * Starting freshclam... [ ok ]
Created attachment 36511 [details, diff] patch to fix /etc/init.d/clamd
Created attachment 36697 [details, diff] Fix typo and implement proper log option handling. This patch fixes the typo and implement the fix from bug 57723 to clamd.
typo fixed in cvs by eradicator. log enhancement left for bug 57723.