Description of problem: clamav-milter posts a negative pid in the pid file, init script fails to shutdown the daemon. Version-Release number of selected component (if applicable): clamav-milter-core-0.93.1-1.fc9.i386 clamav-milter-sysv-0.93.1-1.fc9.i386 How reproducible: 'service clamav-milter stop' fails
I examined this more closely and find out that init script tries to cope with this by adding sed -i -e 's/-//' $pidfile command after the milter's start. The problem is it can (and it does) reach this before milter created the pid file and pid stays negative. The proper solution, I would think, should be to modify killproc function to handle negative pids, but as a workaround the sed command could be added before call to killproc.
clamav-0.93.3-1.fc9 has been submitted as an update for Fedora 9
clamav-0.93.3-1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update clamav'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-6338
clamav-0.93.3-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
For some reasons /etc/rc.d/init.d/clamav-milter is marked as a config file in clamav-milter-sysv, so I had to manually remove my "patch". sed command call in this script is also redundant, since bug was fixed.