[Pkg-clamav-devel] Bug#581408: clamav-base: dpkg-reconfigure does not preserve the "StreamMaxLength 0" customization

Teodor mteodor at gmail.com
Wed May 12 18:26:47 UTC 2010


Package: clamav-base
Version: 0.96+dfsg-4~volatile1
Severity: normal

Hi,

I've upgraded clamav* packages and as usual (for older versions too) the
upgrade doesn't preseve the custom change for StreamMaxLength which is
always set to this "10M". I've runned 'dpkg-reconfigure' manually and this
the only setting that is not preserved even though the custom value "0" is
recognised on debconf questions.

--- clamd.conf	2010-05-12 21:02:50.000000000 +0300
+++ clamd.conf.ucf-dist	2010-05-12 21:17:09.000000000 +0300
@@ -18,7 +18,7 @@
 ReadTimeout 180
 MaxThreads 12
 MaxConnectionQueueLength 15
-StreamMaxLength 0
+StreamMaxLength 10M
 LogSyslog true
 LogFacility LOG_MAIL
 LogClean false

Thanks

-- Package-specific info:
--- configuration ---
Checking configuration files in /etc/clamav

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime = "yes"
LogClean disabled
LogSyslog = "yes"
LogFacility = "LOG_MAIL"
LogVerbose disabled
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory disabled
DatabaseDirectory = "/var/lib/clamav"
OfficialDatabaseOnly disabled
LocalSocket = "/var/run/clamav/clamd.ctl"
LocalSocketGroup = "clamav"
LocalSocketMode = "666"
FixStaleSocket = "yes"
TCPSocket disabled
TCPAddr disabled
MaxConnectionQueueLength = "15"
StreamMaxLength disabled
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "12"
ReadTimeout = "180"
CommandReadTimeout = "5"
SendBufTimeout = "200"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "20"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
CrossFilesystems = "yes"
SelfCheck = "3600"
VirusEvent disabled
ExitOnOOM disabled
Foreground disabled
Debug disabled
LeaveTemporaryFiles disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
Bytecode = "yes"
BytecodeSecurity = "TrustSigned"
BytecodeTimeout = "60000"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables = "yes"
ScanMail = "yes"
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
PhishingAlwaysBlockCloak disabled
PhishingAlwaysBlockSSLMismatch disabled
HeuristicScanPrecedence disabled
StructuredDataDetection disabled
StructuredMinCreditCardCount = "3"
StructuredMinSSNCount = "3"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamukoScanOnAccess disabled
ClamukoScannerCount = "3"
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize disabled
LogTime disabled
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile = "/var/run/clamav/freshclam.pid"
DatabaseDirectory = "/var/lib/clamav/"
Foreground disabled
Debug disabled
AllowSupplementaryGroups disabled
UpdateLogFile = "/var/log/clamav/freshclam.log"
DatabaseOwner = "clamav"
Checks = "24"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.local.clamav.net", "database.clamav.net"
MaxAttempts = "5"
ScriptedUpdates = "yes"
CompressLocalDatabase disabled
ExtraDatabase disabled
HTTPProxyServer disabled
HTTPProxyPort disabled
HTTPProxyUsername disabled
HTTPProxyPassword disabled
HTTPUserAgent disabled
NotifyClamd = "/etc/clamav/clamd.conf"
OnUpdateExecute disabled
OnErrorExecute disabled
OnOutdatedExecute disabled
LocalIPAddress disabled
ConnectTimeout = "30"
ReceiveTimeout = "30"
SubmitDetectionStats disabled
DetectionStatsCountry disabled
DetectionStatsHostID disabled
SafeBrowsing disabled
Bytecode = "yes"

Config file: clamav-milter.conf
-------------------------------
LogFile = "/var/log/clamav/milter.log"
LogFileUnlock disabled
LogFileMaxSize disabled
LogTime disabled
LogSyslog = "yes"
LogFacility = "LOG_MAIL"
LogVerbose = "yes"
PidFile = "/var/run/clamav/milter.pid"
TemporaryDirectory = "/tmp"
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "120"
Foreground disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
MaxFileSize = "62914560"
ClamdSocket = "unix:/var/run/clamav/clamd.ctl"
MilterSocket = "inet:7357 at 127.0.0.1"
MilterSocketGroup = "clamav"
MilterSocketMode = "666"
LocalNet disabled
OnClean = "Accept"
OnInfected = "Reject"
OnFail = "Defer"
RejectMsg = "Service unavailable; Blocked INFECTED (%v)"
AddHeader = "no"
ReportHostname disabled
Chroot disabled
Whitelist disabled
SkipAuthenticated disabled
LogInfected = "Full"

Software settings
-----------------
Version: devel-debian/0.95+dfsg-1-6250-ge8ff485
WARNING: Version mismatch: libclamav=devel-debian/0.95+dfsg-1-6250-ge8ff485, clamconf=0.96
Optional features supported: MEMPOOL IPv6 FRESHCLAM_DNS_FIX AUTOIT_EA06 BZIP2 JIT
Database directory: /var/lib/clamav/
main.cld: version 52, sigs: 704727, built on Mon Feb 15 16:54:51 2010
daily.cld: version 10996, sigs: 67573, built on Wed May 12 20:13:49 2010

--- data dir ---
total 59444
-rw-r--r-- 1 clamav clamav    11471 2010-05-12 20:52 bytecode.cvd
-rw-r--r-- 1 clamav clamav  4114944 2010-05-12 20:40 daily.cld
-rw-r--r-- 1 clamav clamav 56671744 2010-02-15 19:47 main.cld
-rw------- 1 clamav clamav      624 2010-05-12 21:05 mirrors.dat

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
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-base depends on:
ii  adduser                       3.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy
ii  logrotate                     3.7.1-5    Log rotation utility
ii  ucf                           3.0016     Update Configuration File: preserv

Versions of packages clamav-base recommends:
ii  clamav             0.96+dfsg-4~volatile1 anti-virus utility for Unix - comm

clamav-base suggests no packages.

-- debconf information:
* clamav-base/ScanMail: true
* clamav-base/LogSyslog: true
* clamav-base/AddGroups: amavis
* clamav-base/Bytecode: true
* clamav-base/FixStaleSocket: true
  clamav-base/FollowDirectorySymlinks: false
* clamav-base/BytecodeSecurity: TrustSigned
* clamav-base/debconf: true
* clamav-base/BytecodeTimeout: 60000
  clamav-base/numinfo:
  clamav-base/TCPAddr: any
* clamav-base/SelfCheck: 3600
* clamav-base/LocalSocketMode: 666
* clamav-base/ReadTimeout: 180
* clamav-base/ScanArchive: true
* clamav-base/TcpOrLocal: UNIX
* clamav-base/FollowFileSymlinks: false
* clamav-base/MaxConnectionQueueLength: 15
* clamav-base/MaxThreads: 12
* clamav-base/MaxDirectoryRecursion: 20
* clamav-base/LogFile: /var/log/clamav/clamav.log
* clamav-base/LogTime: true
* clamav-base/LocalSocket: /var/run/clamav/clamd.ctl
* clamav-base/StreamMaxLength: 0
  clamav-base/TCPSocket: 3310
* clamav-base/User: clamav
* clamav-base/LocalSocketGroup: clamav





More information about the Pkg-clamav-devel mailing list