[Pkg-clamav-devel] Bug#741675: clamav-base: Missing quoting and bogus generated config file

Simon Edward Ward simon+bdo at bleah.co.uk
Sun Mar 16 13:30:29 UTC 2014


Package: clamav-freshclam
Version: 0.98.1+dfsg-1+deb7u2
Followup-For: Bug #741675

Dear Maintainer,

I installed the above version from stable-proposed-updates, same problem
with the LogRotate option in /etc/clamav/freshclam.conf. The LogRotate
option needs an argument, which, looking at the source I guess should be
true or false.

I changed the line from “LogRotate ” to “LogRotate true” and commented
out the PrivateMirror option, and started the clamav-freshclam service.
(The LogRotate option isn’t documented in freshclam.conf(5) so I guessed
without looking too much into what the correct value should be.)

Regards,
Simon Ward

-- Package-specific info:
--- configuration ---
#Automatically Generated by clamav-base postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-base
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
# TemporaryDirectory is not set to its default /tmp here to make overriding
# the default with environment variables TMPDIR/TMP/TEMP possible
User clamav
AllowSupplementaryGroups true
ScanMail true
ScanArchive true
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogSyslog false
LogRotate 10 clamav-base/LogRotate doesn't exist
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
SelfCheck 3600
Foreground false
Debug false
ScanPE true
MaxEmbeddedPE 10 clamav-base/MaxEmbeddedPE doesn't exist
ScanOLE2 true
ScanHTML true
MaxHTMLNormalize 10 clamav-base/MaxHTMLNormalize doesn't exist
MaxHTMLNoTags 10 clamav-base/MaxHTMLNoTags doesn't exist
MaxScriptNormalize 10 clamav-base/MaxScriptNormalize doesn't exist
MaxZipTypeRcg 10 clamav-base/MaxZipTypeRcg doesn't exist
ScanSWF 10 clamav-base/ScanSWF doesn't exist
DetectBrokenExecutables false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
PhishingSignatures true
PhishingScanURLs true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
ExtendedDetectionInfo true
OLE2BlockMacros false
ScanOnAccess 10 clamav-base/ScanOnAccess doesn't exist
OnAccessIncludePath 
OnAccessExcludePath 
OnAccessMaxFileSize 
OnAccessExcludeUID 
AllowAllMatchScan 10 clamav-base/AllowAllMatchScan doesn't exist
ForceToDisk 10 clamav-base/ForceToDisk doesn't exist
DisableCertCheck 10 clamav-base/DisableCertCheck doesn't exist
StreamMaxLength 25M
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0
Bytecode true
BytecodeSecurity TrustSigned
BytecodeTimeout 60000
OfficialDatabaseOnly false
CrossFilesystems true
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package

DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogRotate 
LogTime true
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
PrivateMirror 10 clamav-base/PrivateMirror doesn't exist
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net

--- data dir ---
total 115168
-rw-r--r-- 1 clamav clamav   345088 Feb  5 17:48 bytecode.cld
-rw-r--r-- 1 clamav clamav 52847616 Mar 15 23:00 daily.cld
-rw-r--r-- 1 clamav clamav 64720632 Oct 27 12:38 main.cvd
-rw------- 1 clamav clamav      364 Mar 16 12:02 mirrors.dat

-- System Information:
Debian Release: 7.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (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/dash

Versions of packages clamav-freshclam depends on:
ii  clamav-base            0.98.1+dfsg-1+deb7u2
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u1
ii  libclamav6             0.98.1+dfsg-1+deb7u2
ii  logrotate              3.8.1-4
ii  lsb-base               4.1+Debian8+deb7u1
ii  ucf                    3.0025+nmu3
ii  zlib1g                 1:1.2.7.dfsg-13

clamav-freshclam recommends no packages.

Versions of packages clamav-freshclam suggests:
pn  clamav-docs  <none>

-- 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/proxy_user:
  clamav-freshclam/NotifyClamd: false
  clamav-freshclam/local_mirror: db.local.clamav.net
  clamav-freshclam/http_proxy:
  clamav-freshclam/update_interval: 24
  clamav-freshclam/internet_interface:

-- 
A complex system that works is invariably found to have evolved from a
simple system that works.—John Gall



More information about the Pkg-clamav-devel mailing list