[Pkg-clamav-devel] Bug#511688: Bug#511688: "/etc/init.d/clamav-milter stop" doesn't stop the clamav-milter daemon

aCaB acab at digitalfuture.it
Tue Jan 13 14:28:43 UTC 2009


Bruno Tréguier wrote:
> Package: clamav-milter
> Severity: normal
> Tags: patch
> 
> 
> The script "/etc/init.d/clamav-milter" doesn't do a proper job when
> trying to stop the daemon. This is due to the fact that the file
> containing the PID (/var/run/clamav/clamav-milter.pid) in fact holds the
> process group ID, which is negative, and line 88 of the script, which is
> supposed to kill the daemon, is as follows:
> 
>     kill -15 -"$PID" 2>/dev/null || true

Hi,
The bug is really in the milter which tries to act smart and breaks
established conventions.
This is BTW fixed in the SVN version.

Cheers,

-aCaB





More information about the Pkg-clamav-devel mailing list