Package: clamav
Version: 0.90.1-3.1lenny2
Severity: normal

logrotate fails for clamav/freshclam, log files are not closed and re-opened:
[EMAIL PROTECTED]:~# /etc/init.d/clamav-daemon reload-log
Reloading log file for ClamAV daemon: clamd.
[EMAIL PROTECTED]:~# /etc/init.d/clamav-freshclam reload-log
Reloading ClamAV virus database updater: freshclam.
[EMAIL PROTECTED]:~# lsof -n | egrep -i 'freshclam.log|clamav.log'
clamd      1592      clamav    3w      REG        3,2    9360    1070877 
/var/log/clamav/clamav.log.1 (deleted)
freshclam  1675      clamav    3wW     REG        3,2  102551    1070879 
/var/log/clamav/freshclam.log.1 (deleted)

The init-skript gets called by /etc/logrotate.d/clamav-{daemon,freshclam}
and as you can see, the (rotated) log file still stays open.

By now, I can't find a solution in unstable or even an appropriate bug
report.

Bye
Meinhard

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.16.20 (SMP w/2 CPU cores)
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav depends on:
ii  clamav-freshclam [clama 0.90.1-3.1lenny2 downloads clamav virus databases f
ii  libc6                   2.5-9+b1         GNU C Library: Shared libraries
ii  libclamav2              0.90.1-3.1lenny2 virus scanner library
ii  zlib1g                  1:1.2.3-15       compression library - runtime

Versions of packages clamav recommends:
ii  arj                     3.10.22-3        archiver for .arj files
ii  clamav-base             0.90.1-3.1lenny2 base package for clamav, an anti-v
ii  unzoo                   4.4-6            zoo archive extractor

-- no debconf information


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

Reply via email to