Package: havp
Version: 0.92a-2
Severity: normal
Tags: patch
The socket that is uwed to communicate with clamd is incorrect. This is
/var/run/clamav/clamd.ctl by default on debian, and not /tmp/clamd.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages havp depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii debconf [debconf-2.0] 1.5.39 Debian configuration management sy
ii libc6 2.13-4 Embedded GNU C Library: Shared lib
ii libclamav6 0.97+dfsg-2 anti-virus utility for Unix - libr
ii libgcc1 1:4.6.0-2 GCC support library
ii libstdc++6 4.6.0-2 The GNU Standard C++ Library v3
Versions of packages havp recommends:
ii clamav-freshclam 0.97+dfsg-2 anti-virus utility for Unix - viru
Versions of packages havp suggests:
pn squid <none> (no description available)
-- Configuration Files:
/etc/havp/havp.config changed [not included]
/etc/init.d/havp changed [not included]
-- debconf information:
* havp/loopback_mount: true
* havp/loopback_size: 100
--- etc/havp/havp.config 2011-05-19 15:12:15.000000000 +0200
+++ ../havp.config 2011-05-30 19:43:58.250184661 +0200
@@ -479,7 +486,7 @@
# Path to clamd socket
#
# Default:
-# CLAMDSOCKET /tmp/clamd
+# CLAMDSOCKET /var/run/clamav/clamd.ctl
# ..OR if you use clamd TCP socket, uncomment to enable use
#
--- params.cpp.orig 2011-05-30 19:49:37.636434592 +0200
+++ params.cpp 2011-05-30 19:50:03.508910735 +0200
@@ -98,7 +98,7 @@
SetConfig("CLAMMAXFILESIZE","100");
SetConfig("CLAMMAXRECURSION","8");
SetConfig("ENABLECLAMD","false");
- SetConfig("CLAMDSOCKET","/tmp/clamd");
+ SetConfig("CLAMDSOCKET","/var/run/clamav/clamd.ctl");
SetConfig("CLAMDSERVER","");
SetConfig("CLAMDPORT","3310");
SetConfig("ENABLEAVG","false");