Package: clamav-freshclam
Version: 0.85.1-2
Severity: normal
Tags: patch

Hello,

first of all: Thank you very much for maintaining clamav(-freshclam) for
debian!

For a while, clamav-freshclam is failing with
"/etc/init.d/clamav-freshclam stop".

I tried sending signals different from TERM, succeded with QUIT, and
changed the init-script accordingly; please, see diff below.

Best regards,

Alexander.

*** clamav-freshclam.debian     Mon Aug 29 07:31:14 2005
--- clamav-freshclam    Mon Aug 29 07:32:30 2005
***************
*** 5,10 ****
--- 5,11 ----
  DAEMON=/usr/bin/freshclam
  NAME=freshclam
  DESC="ClamAV virus database updater"
+ SIG=QUIT
  [ -x $DAEMON ] || exit 0
  
  CLAMAV_CONF_FILE=/etc/clamav/clamd.conf
***************
*** 163,169 ****
    ;;
    stop)
    echo -n "Stopping $DESC: "
!   start-stop-daemon -o -K -q -p $PIDFILE $DAEMON
    if [ -n "$PID" ]; then
      sleep 1
      if kill -0 "$PID" 2>/dev/null; then
--- 164,170 ----
    ;;
    stop)
    echo -n "Stopping $DESC: "
!   start-stop-daemon -o -s $SIG -K -q -p $PIDFILE $DAEMON
    if [ -n "$PID" ]; then
      sleep 1
      if kill -0 "$PID" 2>/dev/null; then

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.11-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages clamav-freshclam depends on:
ii  clamav-base                 0.85.1-2     base package for clamav, an anti-v
ii  debconf [debconf-2.0]       1.4.57       Debian configuration management sy
ii  debianutils                 2.14.1       Miscellaneous utilities specific t
ii  libbz2-1.0                  1.0.2-8      high-quality block-sorting file co
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libclamav1                  0.85.1-2     virus scanner library
ii  libcurl3                    7.14.0-2     Multi-protocol file transfer libra
ii  libgmp3                     4.1.4-6      Multiprecision arithmetic library
ii  libidn11                    0.5.18-1     GNU libidn library, implementation
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  logrotate                   3.7-5        Log rotation utility
ii  ucf                         2.001        Update Configuration File: preserv
ii  zlib1g                      1:1.2.2-4    compression library - runtime

clamav-freshclam recommends no packages.

-- debconf information excluded


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

Reply via email to