Package: clamav-daemon
Version: 0.90.1-0volatile1

the rc script can't stop the daemon:

 * Stopping ClamAV daemon clamd
 *ll: 165: Illegal number: 6342 [fail]

the problem is here:

  stop)
  log_begin_msg "Stopping $DESC" "$NAME"
  OPTIND=1
  if [ -n "$PID" ]; then
    kill -15 -"$PID"


I'm not sure why it wants to kill whole process group, but it doesn't work
on sarge. the dash preceding "$PID" should be removed, probably also later:

        if [ "$cnt" -gt 15 ]; then
          kill -9 -"$PID"
          break
        fi

-- 
Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Spam is for losers who can't get business any other way.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to