[Pkg-clamav-devel] Bug#592322: freshclam.conf: update moves DatabaseMirror line

Török Edwin edwintorok at gmail.com
Mon Aug 9 09:05:24 UTC 2010


Package: clamav-freshclam
Version: 0.96.1+dfsg-3
Severity: normal

After updating clamav-freshclam I got this diff:
--- /etc/clamav/freshclam.conf 2010-06-10 15:40:04.624888178 +0300
+++ /var/lib/clamav/freshclam.conf 2010-08-09 12:03:46.265177327 +0300
@@ -23,7 +23,7 @@
 Bytecode true
 # Check for new database 24 times a day
 Checks 24
-DatabaseMirror db.ro.clamav.net
 DatabaseMirror db.local.clamav.net
 DatabaseMirror database.clamav.net
+DatabaseMirror db.ro.clamav.net
 SubmitDetectionStats /usr/local/etc/clamd.conf

That is not right, it moves my manually set mirror (db.ro.clamav.net) to the
end, effectively disabling it, since mirrors are tried in the order specified in
freshclam.conf.

-- Package-specific info:
--- configuration ---
Checking configuration files in /usr/local/etc

Config file: clamd.conf
-----------------------

Config file: freshclam.conf
---------------------------
LogFileMaxSize = "2097152"
LogTime = "yes"
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile disabled
DatabaseDirectory = "/usr/local/share/clamav"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/var/tmp/freshclam-dev.log"
DatabaseOwner = "clamav"
Checks = "288"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.ro.clamav.net"
MaxAttempts = "3"
ScriptedUpdates = "yes"
TestDatabases = "yes"
CompressLocalDatabase = "yes"
ExtraDatabase disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent = "ClamAV/0.96"
NotifyClamd = "/usr/local/etc/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats = "/usr/local/etc/clamd.conf"
DetectionStatsCountry disabled
DetectionStatsHostID = "1834CA1A60ABEAD9B92E52FC0A7A1430"
SafeBrowsing = "yes"
Bytecode = "yes"

Config file: clamav-milter.conf
-------------------------------
LogFile = "/tmp/clamav-milter.log"
LogFileUnlock disabled
LogFileMaxSize = "1048576"
LogTime = "yes"
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose = "yes"
PidFile disabled
TemporaryDirectory disabled
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "120"
Foreground disabled
User disabled
AllowSupplementaryGroups disabled
MaxFileSize = "26214400"
ClamdSocket = "tcp:127.0.0.1:3310"
MilterSocket = "local:/var/spool/postfix/clamav/clamav-milter.socket"
MilterSocketGroup disabled
MilterSocketMode disabled
LocalNet disabled
OnClean = "Accept"
OnInfected = "Quarantine"
OnFail = "Defer"
RejectMsg disabled
AddHeader = "Yes"
ReportHostname disabled
VirusAction disabled
Chroot disabled
Whitelist disabled
SkipAuthenticated disabled
LogInfected = "Full"

Software settings
-----------------
Version: devel-debian/0.95+dfsg-1-6217-g5925b3d
WARNING: Version mismatch: libclamav=devel-debian/0.95+dfsg-1-6217-g5925b3d, clamconf=0.96.1
Optional features supported: MEMPOOL IPv6 CLAMUKO AUTOIT_EA06 BZIP2 RAR JIT
Database directory: /usr/local/share/clamav
WARNING: freshclam.conf and clamd.conf point to different database directories
main.cvd: version 52, sigs: 704727, built on Mon Feb 15 16:54:51 2010
daily.cld: version 11465, sigs: 108855, built on Fri Jul 30 14:43:50 2010
safebrowsing.cvd: version 22733, sigs: 652021, built on Fri Jul 30 17:45:37 2010
bytecode.cvd: version 32, sigs: 8, built on Wed Jul 21 20:29:22 2010

Platform information
--------------------
uname: Linux 2.6.35 #86 SMP PREEMPT Mon Aug 2 09:28:05 EEST 2010 x86_64
OS: linux-gnu, ARCH: x86_64, CPU: x86_64
Full OS version: Debian GNU/Linux unstable (sid)
zlib version: 1.2.5 (1.2.5), compile flags: a9

Build information
-----------------
GNU C: 4.5.1 20100419 (prerelease) (4.5.1)
GNU C++: 4.4.4 (4.4.4)
CPPFLAGS: 
CFLAGS: -g -O2 -fno-strict-aliasing
CXXFLAGS: 
LDFLAGS: 
Configure: 'CC=gcc-4.5' 'CXX=g++-4.5'

--- data dir ---
total 52276
-rw-r--r-- 1 clamav clamav    81920 Jul 21 20:36 bytecode.cld
-rw-r--r-- 1 clamav clamav  1144450 May 12 10:30 clamav-0f0a4f37c629bd698b5496275820d228
-rw-r--r-- 1 clamav clamav  1305730 May 12 10:30 clamav-1f17ed2cdedc0937fb7fe976c5ba787e
-rw-r--r-- 1 clamav clamav  9788770 May 12 10:30 clamav-2513f3e32b00f8b939519cba62edae9e
-rw-r--r-- 1 clamav clamav   335872 May 12 10:30 clamav-5c0271fb289e43c101da2b9f8be65933
-rw-r--r-- 1 clamav clamav  1560610 May 12 10:30 clamav-9f04afe919251c743736ae892053279a
-rw-r--r-- 1 clamav clamav  9708736 May 12 10:30 clamav-ab3318f3a5413b3d43ff71726196d3a5
-rw-r--r-- 1 clamav clamav  6669312 Aug  9 08:34 daily.cld
-rw-r--r-- 1 root   root        782 Aug  9 12:03 freshclam.conf
-rw-r--r-- 1 clamav clamav 22906487 May 12 22:05 main.cvd
-rw------- 1 clamav clamav      988 Aug  9 11:03 mirrors.dat
-rw------- 1 clamav clamav      512 Jun 10 15:42 stats.dat

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

Kernel: Linux 2.6.35 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav-freshclam depends on:
ii  clamav-base               0.96.1+dfsg-3  anti-virus utility for Unix - base
ii  debconf [debconf-2.0]     1.5.33         Debian configuration management sy
ii  libc6                     2.11.2-2       Embedded GNU C Library: Shared lib
ii  libclamav6                0.96.1+dfsg-1  anti-virus utility for Unix - libr
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         Update Configuration File: preserv
ii  zlib1g                    1:1.2.5.dfsg-1 compression library - runtime

clamav-freshclam recommends no packages.

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

-- Configuration Files:
/etc/logcheck/ignore.d.server/clamav-freshclam [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/clamav-freshclam'

-- debconf information:
  clamav-freshclam/autoupdate_freshclam: daemon
  clamav-freshclam/local_mirror: db.local.clamav.net
  clamav-freshclam/internet_interface:
  clamav-freshclam/proxy_user:
  clamav-freshclam/NotifyClamd: false
  clamav-freshclam/http_proxy:
  clamav-freshclam/update_interval: 24





More information about the Pkg-clamav-devel mailing list