init.d bug in clamav-milter 0.90.2-0ubuntu1

Matt "Cyber Dog" LaPlante webmaster at cyberdogtech.com
Wed Aug 1 16:26:06 BST 2007


I've got clamav-milter 0.90.2-0ubuntu1 installed.  There is a bug in the
/etc/init.d/clamav-milter script around like 99:

kill -9 -"$PID"

The problem appears to be that the pid file
(/var/run/clamav/clamav-milter.pid) also begins with a dash (eg -7943), so
the kill line actually winds up trying to

Kill -9 -"-7943", which fails.  Removing the excess dash from the init
script fixes things.

-
Matt




More information about the Ubuntu-motu mailing list