Clamd fails on reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux