Package: clamav-daemon
Version: 0.90.1dfsg-3etch11
Severity: normal

Upon starting up, clamav-daemon does not create its pidfile until after the 
databases have been loaded.  This results in a long period during 
which multiple clamav instances can be started.

This is taken from /var/log/clamav/clamav-daemon.log

----8<--------------------------------------------------------
Fri May  9 16:37:52 2008 -> +++ Started at Fri May  9 16:37:52 2008
Fri May  9 16:37:52 2008 -> clamd daemon 0.90.1 (OS: linux-gnu, ARCH: i386, 
CPU: i486)
Fri May  9 16:37:52 2008 -> Log file size limit disabled.
Fri May  9 16:37:52 2008 -> Reading databases from /var/lib/clamav
Fri May  9 17:05:50 2008 -> Loaded 280469 signatures.
Fri May  9 17:05:50 2008 -> WARNING: Socket file /var/run/clamav/clamd.ctl 
exists. Unclean shutdown? Removing...
Fri May  9 17:05:50 2008 -> Unix socket file /var/run/clamav/clamd.ctl
----8<--------------------------------------------------------

before the database is loaded /var/run/clamav looks like:

----8<--------------------------------------------------------
srwxrwxrwx  1 clamav clamav    0 2008-05-09 10:59 clamd.ctl
-rw-rw----  1 clamav clamav    4 2008-05-08 17:26 freshclam.pid
----8<--------------------------------------------------------

and then, once the database reload has finally finished, /var/run/clamav 
looks like:

----8<--------------------------------------------------------
srwxrwxrwx  1 clamav clamav    0 2008-05-09 17:05 clamd.ctl
-rw-rw----  1 clamav clamav    5 2008-05-09 17:05 clamd.pid
-rw-rw----  1 clamav clamav    4 2008-05-08 17:26 freshclam.pid
----8<--------------------------------------------------------

It might be an idea to have the pid file created as soon as clamd 
starts, enabling better process monitoring.

Thanks!

Patrick Cherry

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.23.1-bytemark-uml
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.UTF-8)

Versions of packages clamav-daemon depends on:
ii  clamav-base           0.90.1dfsg-3etch11 base package for clamav, an anti-v
ii  clamav-freshclam [cla 0.90.1dfsg-3etch11 downloads clamav virus databases f
ii  libc6                 2.3.6.ds1-13etch5  GNU C Library: Shared libraries
ii  libclamav2            0.90.1dfsg-3etch11 virus scanner library
ii  lsb-base              3.1-23.2etch1      Linux Standard Base 3.1 init scrip
ii  ucf                   2.0020             Update Configuration File: preserv

clamav-daemon recommends no packages.

-- no debconf information



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

Reply via email to