Package: clamav-daemon Version: 0.86.2-5 Severity: normal When the init script (/etc/init.d/clamav-daemon) runs with the "stop" parameter, the script runs to completion with no errors. However, the clamd process is not stopped. It is still running after the script has completed. Below is output from the script (with set -x in the script).
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin + DAEMON=/usr/sbin/clamd + NAME=clamd + DESC='ClamAV daemon' + CLAMAVCONF=/etc/clamav/clamd.conf + SUPERVISOR=/usr/bin/daemon + SUPERVISORNAME=daemon + SUPERVISORPIDFILE=/var/run/clamav/daemon-clamd.pid + SUPERVISORARGS='--name=clamd --respawn /usr/sbin/clamd -F /var/run/clamav/daemon-clamd.pid' + '[' -x /usr/sbin/clamd ']' + '[' -r /etc/default/clamav-daemon ']' + . /etc/default/clamav-daemon + . /lib/lsb/init-functions ++ TPUT=/usr/bin/tput ++ EXPR=/usr/bin/expr ++ '[' -x /usr/bin/tput ']' ++ '[' -x /usr/bin/expr ']' ++ /usr/bin/tput hpa 60 ++ FANCYTTY=1 + '[' '!' -f /etc/clamav/clamd.conf ']' + grep -q '^Example' /etc/clamav/clamd.conf + grep -q '^Foreground' /etc/clamav/clamd.conf ++ grep '^PidFile' /etc/clamav/clamd.conf ++ awk '{print $2}' + THEPIDFILE= + '[' -n '' ']' + THEPIDFILE=/var/run/clamav/clamd.pid + '[' -z '' ']' + '[' -e /var/run/clamav/clamd.pid ']' + '[' '' = 1 ']' + case "$1" in + log_begin_msg 'Stopping ClamAV daemon: clamd' + '[' -z 'Stopping ClamAV daemon: clamd' ']' + echo -n 'Stopping ClamAV daemon: clamd' Stopping ClamAV daemon: clamd+ '[' -n '' ']' + '[' -z '' ']' + killproc -p /var/run/clamav/clamd.pid + local pidfile sig status ++ POSIXLY_CORRECT=1 ++ getopt p: -p /var/run/clamav/clamd.pid + set -- -p /var/run/clamav/clamd.pid -- + pidfile= + for i in '$*' + case $i in + pidfile=/var/run/clamav/clamd.pid + shift 2 + for i in '$*' + case $i in + for i in '$*' + case $i in + shift + break + '[' '!' /var/run/clamav/clamd.pid ']' + '[' ']' + /sbin/start-stop-daemon --stop --pidfile /var/run/clamav/clamd.pid --retry 5 --quiet --oknodo + ret=0 + '[' -n 0 ']' + log_end_msg 0 + '[' -z 0 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/tput setaf 1 + RED='' ++ /usr/bin/tput op + NORMAL='' + '[' 0 -eq 0 ']' + echo . . + return 0 + exit 0 -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.12-1-k7 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages clamav-daemon depends on: ii clamav-base 0.86.2-5 base package for clamav, an anti-v ii clamav-freshclam [clamav-data 0.86.2-5 downloads clamav virus databases f ii libbz2-1.0 1.0.2-8 high-quality block-sorting file co ii libc6 2.3.5-3 GNU C Library: Shared libraries an ii libclamav1 0.86.2-5 virus scanner library ii libcurl3 7.14.0-4 Multi-protocol file transfer libra ii libgmp3c2 4.1.4-9 Multiprecision arithmetic library ii libidn11 0.5.18-1 GNU libidn library, implementation ii libssl0.9.7 0.9.7g-1 SSL shared libraries ii lsb-base 3.0-4 Linux Standard Base 3.0 init scrip ii zlib1g 1:1.2.3-3 compression library - runtime clamav-daemon recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]