Package: clamav-daemon Version: 0.97.6+dfsg-1 Severity: normal I am unable to create configuration file based on debconf items. It's a copy of /usr/share/doc/clamav-base/examples/clamd.conf. I tried to remove all clamav packages but it does not help.
I found that there is a check in line 332 of /var/lib/dpkg/info/clamav- base.postinst db_metaget clamav-base/debconf value || true if [ "$RET" = "true" ]; then Creation of config file is skipped because tem clamav-base/debconf does not exists. # debconf-show clamav-base * clamav-base/ScanMail: true * clamav-base/AddGroups: * clamav-base/Bytecode: true * clamav-base/FollowDirectorySymlinks: false * clamav-base/BytecodeSecurity: TrustSigned * clamav-base/BytecodeTimeout: 60000 clamav-base/numinfo: * clamav-base/TCPAddr: any * clamav-base/ReadTimeout: 180 * clamav-base/TcpOrLocal: UNIX * clamav-base/FollowFileSymlinks: false * clamav-base/MaxThreads: 12 * clamav-base/MaxDirectoryRecursion: 15 * clamav-base/StreamMaxLength: 25 * clamav-base/User: clamav * clamav-base/TCPSocket: 3310 * clamav-base/LocalSocketGroup: clamav * clamav-base/LogSyslog: false * clamav-base/FixStaleSocket: true * clamav-base/SelfCheck: 3600 * clamav-base/LocalSocketMode: 666 * clamav-base/ScanArchive: true * clamav-base/MaxConnectionQueueLength: 15 * clamav-base/LogTime: true * clamav-base/LogFile: /var/log/clamav/clamav.log * clamav-base/LocalSocket: /var/run/clamav/clamd.ctl Best regards, -- Package-specific info: --- configuration --- Checking configuration files in /etc/clamav Config file: clamd.conf ----------------------- Config file: freshclam.conf --------------------------- LogFileMaxSize = "4294967295" LogTime = "yes" LogSyslog disabled LogFacility = "LOG_LOCAL6" LogVerbose = "yes" 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 = "4" DNSDatabaseInfo = "current.cvd.clamav.net" DatabaseMirror = "db.local.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 WARNING: freshclam.conf and clamd.conf point to different database directories main.cvd: version 54, sigs: 1044387, built on Tue Oct 11 16:34:20 2011 daily.cvd: version 16376, sigs: 495850, built on Sat Jan 5 13:40:04 2013 bytecode.cld: version 209, sigs: 40, built on Tue Dec 18 16:57:07 2012 Total number of signatures: 1540277 Platform information -------------------- uname: Linux 3.6.0-8.dmz.2-liquorix-amd64 #1 ZEN SMP PREEMPT Thu Nov 29 22:32:29 UTC 2012 x86_64 OS: linux-gnu, ARCH: x86_64, CPU: x86_64 Full OS version: Debian GNU/Linux 7.0 (wheezy) zlib version: 1.2.7 (1.2.7), compile flags: a9 Triple: x86_64-pc-linux-gnu CPU: amdfam10, Little-endian platform id: 0x0a2143430804070101040701 Build information ----------------- GNU C: 4.7.1 (4.7.1) GNU C++: 4.7.1 (4.7.1) CPPFLAGS: -D_FORTIFY_SOURCE=2 CFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall CXXFLAGS: -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall LDFLAGS: -Wl,-z,relro Configure: 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro' '--build=x86_64-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=x86_64-linux-gnu' sizeof(void*) = 8 Engine flevel: 67, dconf: 67 --- data dir --- total 42116 -rw-r--r-- 1 clamav 158 286720 Dec 18 20:31 bytecode.cld -rw-r--r-- 1 clamav clamav 12064958 Jan 5 13:48 daily.cvd -rw-r--r-- 1 root root 5 Jan 5 13:40 interface -rw-r--r-- 1 clamav clamav 30750647 Jan 5 13:46 main.cvd -rw------- 1 clamav clamav 260 Jan 5 13:49 mirrors.dat -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.6.0-8.dmz.2-liquorix-amd64 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages clamav-daemon depends on: ii clamav-base 0.97.6+dfsg-1 ii clamav-freshclam [clamav-data] 0.97.6+dfsg-1 ii libbz2-1.0 1.0.6-4 ii libc6 2.13-38 ii libclamav6 0.97.6+dfsg-1 ii libncurses5 5.9-10 ii libtinfo5 5.9-10 ii libtommath0 0.42.0-1 ii lsb-base 4.1+Debian9 ii ucf 3.0025+nmu3 ii zlib1g 1:1.2.7.dfsg-13 clamav-daemon recommends no packages. Versions of packages clamav-daemon suggests: pn clamav-docs <none> pn daemon <none> -- Configuration Files: /etc/logcheck/ignore.d.paranoid/clamav-daemon [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.paranoid/clamav-daemon' /etc/logcheck/ignore.d.server/clamav-daemon [Errno 13] Permission denied: u'/etc/logcheck/ignore.d.server/clamav-daemon' -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org