Hello, sorry for the late answer, I didn't had the time to work an the package lately...
Fernando J. RodrÃguez <[EMAIL PROTECTED]> writes: > I discovered that if I issue the /etc/init.d/mailscanner stop command > while MailScanner is still autodetecting virus scanners (calling in turn > the helper scripts in /etc/MailScanner/wrappers), it correctly kills 3 > running instances of MailScanner and no other one is spawned. But if I > wait until the autodetection ends, the script kills the 2 running > instances, but a new one is spawned as I showed in my first message, a new > instance that start-stop-daemon does not kill (I think it does not send > any signal to that process), but still keeps waiting for it to finish > (wich never happens, because there is no reason for it). > > If I supress the autodetection of available virus scanners, by putting the > name of one of them (f-prot in my case) instead of "auto", and I run: > /etc/init.d/mailscanner start; sleep 5; /etc/init.d/mailscanner stop > the bug happens. > On the other hand, > /etc/init.d/mailscanner start; 5; /etc/init.d/mailscanner stop > does not cause the bug to happen. > > So there is some time window between starting and stopping MailScanner > where the bug occurs. > > Does any of this make any sense to you? Some, yes ;) Could you replace line 129 in the init.d script with start-stop-daemon --stop --retry=TERM/10/TERM/20 --name $NAME and try again? -- Regards Simon Walter -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]