[Pkg-clamav-devel] Bug#699458: Can not preseed clamav-freshclam/NotifyClamd debconf setting

Jeff Dairiki dairiki at dairiki.org
Thu Jan 31 15:41:51 UTC 2013


Package: clamav-freshclam
Version: 0.97.6+dfsg-1~squeeze1
Severity: minor


It is not possible to preseed the debconf item clamav-freshclam/NotifyClamd
to true.

The problem is in clamav-freshclam.config.  If
/etc/clamv/freshclam.conf does not exist, the config script sets
clamav-freshclam/NotifyClamd to false, thus overwriting any preseeded
value.

Let me know if you'd like me to attempt to generate a patch.

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

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock disabled
LogFileMaxSize = "4294967295"
LogTime = "yes"
LogClean disabled
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
ExtendedDetectionInfo = "yes"
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 = "26214400"
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "12"
ReadTimeout = "180"
CommandReadTimeout = "5"
SendBufTimeout = "200"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "15"
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"
BytecodeUnsigned disabled
BytecodeMode = "Auto"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables disabled
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"
OLE2BlockMacros disabled
ScanPDF = "yes"
ScanArchive = "yes"
ArchiveBlockEncrypted disabled
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
ClamAuth disabled
ClamukoScanOnAccess disabled
ClamukoScannerCount = "3"
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoExcludeUID disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled
DevLiblog disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize = "4294967295"
LogTime = "yes"
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 = "12"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.us.clamav.net", "database.clamav.net"
MaxAttempts = "5"
ScriptedUpdates = "yes"
TestDatabases = "yes"
CompressLocalDatabase disabled
ExtraDatabase disabled
DatabaseCustomURL 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"

clamav-milter.conf not found

Software settings
-----------------
Version: 0.97.6
Optional features supported: MEMPOOL IPv6 FRESHCLAM_DNS_FIX AUTOIT_EA06 BZIP2 JIT

Database information
--------------------
Database directory: /var/lib/clamav
main.cvd: version 54, sigs: 1044387, built on Tue Oct 11 07:34:20 2011
bytecode.cvd: version 210, sigs: 39, built on Thu Jan 10 11:14:54 2013
daily.cvd: version 16598, sigs: 680776, built on Wed Jan 30 17:51:36 2013
Total number of signatures: 1725202

Platform information
--------------------
uname: Linux 2.6.32-042stab068.8 #1 SMP Fri Dec 7 17:06:14 MSK 2012 i686
OS: linux-gnu, ARCH: i386, CPU: i486
Full OS version: Debian GNU/Linux 6.0.6 (squeeze)
zlib version: 1.2.3.4 (1.2.3.4), compile flags: 55
Triple: i386-pc-linux-gnu
CPU: i686, Little-endian
platform id: 0x0a1143430404040501040405

Build information
-----------------
GNU C: 4.4.5 (4.4.5)
GNU C++: 4.4.5 (4.4.5)
CPPFLAGS: 
CFLAGS: -g -O2 -Wall
CXXFLAGS: -g -O2 -Wall
LDFLAGS: 
Configure: 'CFLAGS=-g -O2 -Wall' 'CPPFLAGS=' 'CXXFLAGS=-g -O2 -Wall' 'LDFLAGS=' '--build=i486-linux-gnu' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-clamav' '--with-dbdir=/var/lib/clamav/' '--sysconfdir=/etc/clamav' '--enable-milter' '--disable-clamuko' '--with-gnu-ld' '--enable-dns-fix' '--disable-unrar' '--libdir=/usr/lib' '--with-system-tommath' '--without-included-ltdl' 'build_alias=i486-linux-gnu'
sizeof(void*) = 4
Engine flevel: 67, dconf: 67

--- data dir ---
total 46400
-rw-r--r-- 1 clamav clamav    54353 Jan 30 22:15 bytecode.cvd
drwxr-xr-x 2 clamav clamav     4096 Jan 30 22:13 clamav-7a9a9c39acd9d3dbe5de571c03e662c4
-rw-r--r-- 1 clamav clamav 16687153 Jan 30 22:13 daily.cvd
-rw-r--r-- 1 clamav clamav 30750647 Jan 30 22:11 main.cvd
-rw------- 1 clamav clamav      104 Jan 31 07:16 mirrors.dat

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

Kernel: Linux 2.6.32-042stab068.8 (SMP w/2 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-freshclam depends on:
ii  clamav-base       0.97.6+dfsg-1~squeeze1 anti-virus utility for Unix - base
ii  debconf [debconf- 1.5.36.1               Debian configuration management sy
ii  libc6             2.11.3-4               Embedded GNU C Library: Shared lib
ii  libclamav6        0.97.6+dfsg-1~squeeze1 anti-virus utility for Unix - libr
ii  logrotate         3.7.8-6                Log rotation utility
ii  lsb-base          3.2-23.2squeeze1       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)

-- debconf information excluded



More information about the Pkg-clamav-devel mailing list