Re: Clamd fails on reboot

2011-07-21 Thread Arthur Dent
On Wed, 2011-07-20 at 16:11 +0100, Arthur Dent wrote: > For the benefit of the archives this is what now works for me: > > #8<=== > # In the definitions section: > CLAMD_PIDDIR=/var/run/clamd.${CLAMD_SERVICE} > > # and in the "start" st

Re: Clamd fails on reboot

2011-07-20 Thread Genes MailLists
On 07/20/2011 11:11 AM, Arthur Dent wrote: > > Also, I found that in order for your suggested modification to work I > needed to put a space between the ! and the -d and also I needed to > chown the new directory. > ... > Thanks again for your help Gene. Much appreciated. > Hah well glad yo

Re: Clamd fails on reboot

2011-07-20 Thread Arthur Dent
* On Wed, 2011-07-20 at 08:56 -0400, Genes MailLists wrote: > 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)

Re: Clamd fails on reboot

2011-07-20 Thread Genes MailLists
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 p

Re: Clamd fails on reboot

2011-07-20 Thread Arthur Dent
On Wed, 2011-07-20 at 07:41 -0400, Genes MailLists wrote: > On 07/20/2011 06:17 AM, Arthur Dent wrote: > > > > > There are no other "rm" commands. > > > > So what deletes the /var/run/clamd.clamd/ directory on reboot? > > > > > I wonder if you should look for what should be creating it inst

Re: Clamd fails on reboot

2011-07-20 Thread Genes MailLists
On 07/20/2011 06:17 AM, Arthur Dent wrote: > > There are no other "rm" commands. > > So what deletes the /var/run/clamd.clamd/ directory on reboot? > I wonder if you should look for what should be creating it instead - because of the fact that /run = /var/run is now tmpfs. gene -- users

Clamd fails on reboot

2011-07-20 Thread Arthur Dent
Hello All, When i do a reboot (about once per month) I carefully check all the essential services are running (I especially needed to do this as systemd was, until now, not starting sendmail - a bug that is now fixed). Clamd will not start after a reboot. A little investigation reveals that it wo