Package: clamav
Version: 0.90.1-2
Severity: important
Tags: patch
The /etc/init.d/clamav-dameon script specifies a pidfile of
"/var/run/clamav/daemon-clamd.pid" whereas the config file defaults to
"/var/run/clamav/clamd.pid", this causes the logrotate to break. A diff
against /etc/init.d/clamav-daemon follows that will correct the problem.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Versions of packages clamav depends on:
ii clamav-freshclam [clamav-da 0.90.1-2 downloads clamav virus
databases f
ii libc6 2.3.6.ds1-13 GNU C Library: Shared
libraries
ii libclamav2 0.90.1-2 virus scanner library
ii zlib1g 1:1.2.3-13 compression library -
runtime
Versions of packages clamav recommends:
ii arj 3.10.22-2 archiver for .arj files
ii clamav-base 0.90.1-2 base package for clamav, an
anti-v
ii unzoo 4.4-5 zoo archive extractor
-- no debconf information
--- clamav-daemon 2007-03-12 20:51:30.000000000 -0300
+++ clamav-daemon.new 2007-03-19 16:54:21.000000000 -0300
@@ -24,7 +24,7 @@
CLAMAVCONF=/etc/clamav/clamd.conf
SUPERVISOR=/usr/bin/daemon
SUPERVISORNAME=daemon
-SUPERVISORPIDFILE="/var/run/clamav/daemon-clamd.pid"
+SUPERVISORPIDFILE="/var/run/clamav/clamd.pid"
SUPERVISORARGS="--name=$NAME --respawn $DAEMON -F $SUPERVISORPIDFILE"
[ -x "$DAEMON" ] || exit 0