Clamd fails on reboot

Genes MailLists lists at sapience.com
Wed Jul 20 12:56:23 UTC 2011


On 07/20/2011 07:59 AM, Arthur Dent wrote:



...

> 
> Should I put a "touch $PIDFILE" in there? Or would I also need a mkdir
> command?
> 
> This is a Fedora yum package. Shouldn't this just work?


  1) I think clamd should be doing the mkdir .. not the start script ..
but ..

  2) For now I'd put (you sure about the dir having .{${CLAMD_SERVICE}
} on the end?

     piddir =  /var/run/clamd.${CLAMD_SERVICE} ## fix if needed

     if [ !-d $piddir ] ; then
         mkdir piddir}

     fi

   in the file ...

  3) i'd file a bug report against clamav on this - needing to be
updated for /var/run being tmpfs.

gene/



More information about the users mailing list