This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 452359 - clamav-milter posts negative pid
clamav-milter posts negative pid
Product: Fedora
Classification: Fedora
Component: clamav (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Enrico Scholz
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-06-21 07:52 EDT by Vadym Chepkov
Modified: 2008-07-17 14:14 EDT (History)
1 user (show)

See Also:
Fixed In Version: 0.93.3-1.fc9
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-17 10:15:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vadym Chepkov 2008-06-21 07:52:34 EDT
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):


How reproducible:

'service clamav-milter stop' fails
Comment 1 Vadym Chepkov 2008-07-13 13:05:52 EDT
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.
Comment 2 Fedora Update System 2008-07-13 15:46:12 EDT
clamav-0.93.3-1.fc9 has been submitted as an update for Fedora 9
Comment 3 Fedora Update System 2008-07-15 08:13:12 EDT
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:
Comment 4 Fedora Update System 2008-07-17 10:15:29 EDT
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.
Comment 5 Vadym Chepkov 2008-07-17 14:14:41 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.