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 won't start because it tries to create a pid file
in /var/run/clamd.clamd/ - but /var/run/clamd.clamd/ does not exist.

mkdir /var/run/clamd.clamd && chown clamd:clamd /var/run/clamd.clamd/
will allow the service to be started with no problems.

The next reboot and... poof... /var/run/clamd.clamd/ is gone again!

I have grepped the whole of /etc/* to see if there are any references to
this directory with the only entries being the sensible ones
in /etc/init.d/clamd-wrapper.

In that init script the "stop" stanza does have the following command:
        "[ $RETVAL -eq 0 ] && rm -f $lockfile"
but "$lockfile" refers to
lockfile=/var/lock/subsys/clamd.${CLAMD_SERVICE}

There are no other "rm" commands.

So what deletes the /var/run/clamd.clamd/ directory on reboot?

Thanks in advance

Mark



Attachment: signature.asc
Description: This is a digitally signed message part

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to