[Pkg-clamav-devel] Bug#605122: excessive logging of "Network is unreachable" fills up /var[/log/clamav/freshclam.log]

Enrico Zini enrico at debian.org
Sun Dec 19 11:21:48 UTC 2010


Package: clamav-freshclam
Severity: normal

Hello,

although I purged freshclam (and clamav) from my system, a
"/usr/bin/freshclam -d --quiet" process was left running, which kept the
huge freshclam.log open, which left its disk space in /var/ allocated
although I had deleted the file manually.

freshclam being purged meant that the stop script in /etc/init.d was not
there anymore to be used to shut freshclam down; killing the freshclam
process manually obviously put an end to all the sufferings and freed
that 1.2Gb I needed in my /var.

I personally have no problems dealing with a scenario of "disk space is
not freed while the file is still open" coupled with "purging freshclam
leaves the daemon running" and "freshclam keeps its logfile open all the
time", but I can see how it all can cause a rather bad friday afternoon
to many, especiall because at that point "du" and friends will not show
you where the disk space is used anymore :(


Ciao,

Enrico

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav-freshclam depends on:
pn  clamav-base             <none>           (no description available)
ii  debconf [debconf-2.0]   1.5.36           Debian configuration management sy
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
pn  libclamav6              <none>           (no description available)
ii  logrotate               3.7.8-6          Log rotation utility
ii  lsb-base                3.2-23.1         Linux Standard Base 3.2 init scrip
ii  ucf                     3.0025+nmu1      Update Configuration File: preserv
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

clamav-freshclam recommends no packages.

Versions of packages clamav-freshclam suggests:
pn  clamav-docs                   <none>     (no description available)





More information about the Pkg-clamav-devel mailing list