Bug 452359
Summary: | clamav-milter posts negative pid | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vadym Chepkov <vchepkov> |
Component: | clamav | Assignee: | Enrico Scholz <rh-bugzilla> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | steve |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.93.3-1.fc9 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-07-17 14:15:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Vadym Chepkov
2008-06-21 11:52:34 UTC
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. |