Package: clamav-freshclam Version: 0.84-2 No, this is no dupe to #315042 :-)
The postrotate script in /etc/logrotate.d/clamav-freshclam contains a line [ -f /var/run/clamav/freshclam.pid ] && kill -HUP `cat /var/run/clamav/freshclam.pid` Well, if the "test -f" -command fails, it returns a non-zero exit status and logrotate will report an "error running postrotate script". Others might prefer to add "|| /bin/true", but a more creative solution is to negate the script: [ ! -f /var/run/clamav/freshclam.pid ] || kill -HUP `cat /var/run/clamav/freshclam.pid` That way freshclam is only HUPed if the test fails - which either means that the "test" command is broken or the pid-file does exist. Regards, Anders -- System Information: Debian Release: 3.1 Architecture: i386 (i686) Kernel: Linux 2.4.28-grsec Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1) Versions of packages clamav-freshclam depends on: ii clamav-base 0.84-2 base package for clamav, an anti-v ii debconf [debconf-2.0] 1.4.30.13 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii libbz2-1.0 1.0.2-7 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.13.2-2 Multi-protocol file transfer libra ii libgmp3 4.1.4-6 Multiprecision arithmetic library ii libidn11 0.5.13-1.0 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 1.17 Update Configuration File: preserv ii zlib1g 1:1.2.2-4 compression library - runtime -- debconf information: * clamav-freshclam/autoupdate_freshclam: cron clamav-freshclam/proxy_user: * clamav-freshclam/NotifyClamd: true * clamav-freshclam/local_mirror: db.de.clamav.net (Germany) * clamav-freshclam/http_proxy: clamav-freshclam/mirrors.txt-note: * clamav-freshclam/update_interval: 24 clamav-freshclam/internet_interface: -- Schlund + Partner AG Systemadministration Brauerstrasse 48 v://49.721.91374.50 D-76135 Karlsruhe f://49.721.91374.225 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]