Comment 1 for bug 29571

Revision history for this message
Carlos Eduardo Pedroza Santiviago (segfault) wrote :

I've confirmed it and made this following change:
[...]
  start)
    mkdir -p /var/run/clamav
    chown clamav:clamav /var/run/clamav
  if [ -z "$RUN_SUPERVISED" ] ; then
[...]

However, it would be more correct to get the user who'll run clamav from /etc/clamav/clamd.conf, and then chown to him.Like:

USER="`grep ^User $CLAMAVCONF | awk '{print $2}'`"