[Pkg-clamav-devel] Bug#526123: clamav-milter's startup script is broken in 0.95.1+dfsg-0volatile2 from volatile

Thomas Liske liske at ibh.net
Wed Apr 29 12:19:15 UTC 2009


Package: clamav-milter
Version: 0.95.1+dfsg-0volatile2
Severity: important


Hi,

I'd just upgraded some clamav-milter installations to the most recent
version from volatile. The startup script shipped with clamav-milter
is broken:

=================================]SNIP[=================================
Setting up clamav-milter (0.95.1+dfsg-0volatile2) ...
Starting Sendmail milter plugin for ClamAV: clamav-milter/usr/sbin/clamav-milter: unrecognized option `--pidfile'
ERROR: Unknown option passed
ERROR: Can't parse command line options
 failed!
=================================]SNIP[=================================

All the command line options used in previous version are now in /etc/clamav/cla
mav-milter.conf, they must not supplied on command line any more.


Regards,
Thomas Liske

-- Package-specific info:
--- configuration ---
ClamAV engine version: 0.95.1
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_LOCAL6"
LogVerbose disabled
PidFile = "/var/run/clamav/clamd.pid"
TemporaryDirectory = "/tmp"
DatabaseDirectory = "/var/lib/clamav"
LocalSocket = "/var/run/clamav/clamd.ctl"
FixStaleSocket = "yes"
TCPSocket disabled
TCPAddr disabled
MaxConnectionQueueLength = "15"
StreamMaxLength = "10485760"
StreamMinPort = "1024"
StreamMaxPort = "2048"
MaxThreads = "12"
ReadTimeout = "180"
CommandReadTimeout = "5"
SendBufTimeout = "500"
MaxQueue = "100"
IdleTimeout = "30"
ExcludePath disabled
MaxDirectoryRecursion = "15"
FollowDirectorySymlinks disabled
FollowFileSymlinks disabled
SelfCheck = "3600"
VirusEvent disabled
ExitOnOOM disabled
Foreground disabled
Debug disabled
LeaveTemporaryFiles disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
AlgorithmicDetection = "yes"
ScanPE = "yes"
ScanELF = "yes"
DetectBrokenExecutables disabled
ScanMail = "yes"
MailFollowURLs disabled
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 = "10485760"
MaxRecursion = "8"
MaxFiles = "1000"
ClamukoScanOnAccess disabled
ClamukoScanOnOpen disabled
ClamukoScanOnClose disabled
ClamukoScanOnExec disabled
ClamukoIncludePath disabled
ClamukoExcludePath disabled
ClamukoMaxFileSize = "5242880"
DevACOnly disabled
DevACDepth disabled
*** ArchiveLimitMemoryUsage is DEPRECATED ***

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
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
SafeBrowsing disabled

Config file: clamav-milter.conf
-------------------------------
LogFile disabled
LogFileUnlock disabled
LogFileMaxSize = "1048576"
LogTime disabled
LogSyslog = "yes"
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
PidFile = "/var/run/clamav/clamav-milter.pid"
TemporaryDirectory = "/tmp"
FixStaleSocket = "yes"
MaxThreads = "10"
ReadTimeout = "180"
Foreground disabled
User = "clamav"
AllowSupplementaryGroups = "yes"
MaxFileSize = "10485760"
ClamdSocket = "unix:/var/run/clamav/clamd.ctl"
MilterSocket = "/var/run/clamav/milter.ctl"
LocalNet disabled
OnClean = "Accept"
OnInfected = "Quarantine"
OnFail = "Defer"
RejectMsg disabled
AddHeader disabled
Chroot disabled
Whitelist disabled
SkipAuthenticated disabled
LogInfected = "Off"

--- data dir ---
total 46232
-rw-r--r-- 1 clamav clamav  2881024 Apr 29 13:25 daily.cld
drwxr-xr-x 2 clamav clamav     4096 May 30  2008 daily.inc
-rw-r--r-- 1 clamav clamav 44391424 Feb 16 00:25 main.cld
drwxr-xr-x 2 clamav clamav     4096 May 30  2008 main.inc
-rw------- 1 clamav clamav     1144 Apr 29 13:31 mirrors.dat

-- System Information:
Debian Release: 4.0
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages clamav-milter depends on:
ii  adduser           3.102                  Add and remove users and groups
ii  clamav-base       0.95.1+dfsg-0volatile2 anti-virus utility for Unix - base
ii  clamav-freshclam  0.95.1+dfsg-0volatile2 anti-virus utility for Unix - viru
ii  debconf [debconf- 1.5.11etch2            Debian configuration management sy
ii  libc6             2.3.6.ds1-13etch9+b1   GNU C Library: Shared libraries
ii  libmilter0        8.13.8-3               Sendmail Mail Filter API (Milter)
ii  logrotate         3.7.1-3                Log rotation utility
ii  lsb-base          3.1-23.2etch1          Linux Standard Base 3.1 init scrip
ii  ucf               2.0020                 Update Configuration File: preserv
ii  zlib1g            1:1.2.3-13             compression library - runtime

Versions of packages clamav-milter recommends:
ii  clamav-daemon     0.95.1+dfsg-0volatile2 anti-virus utility for Unix - scan

-- debconf information:
  clamav-milter/LogFile: none
  clamav-milter/LogSyslog: true
  clamav-milter/MilterSocket: /var/run/clamav/milter.ctl
  clamav-milter/OnInfected: Quarantine
  clamav-milter/User: clamav
  clamav-milter/MaxFileSize: value set
  clamav-milter/LogInfected: Off
  clamav-milter/FixStaleSocket: true
  clamav-milter/LogFileUnlock: false
  clamav-milter/Chroot:
  clamav-milter/ReadTimeout: 180
  clamav-milter/OnClean: Accept
  clamav-milter/AddGroups:
  clamav-milter/LogFileMaxSize: 0
  clamav-milter/OnFail: Defer
  clamav-milter/LocalNet:
  clamav-milter/debconf: true
  clamav-milter/LogTime: true
  clamav-milter/RejectMsg:
  clamav-milter/TemporaryDirectory: /tmp
  clamav-milter/LogFacility: LOG_LOCAL6
  clamav-milter/ClamdSocket: unix:/var/run/clamav/clamd.ctl
  clamav-milter/PidFile: /var/run/clamav/clamav-milter.pid
  clamav-milter/Foreground: false
  clamav-milter/AddHeader: false
  clamav-milter/LogVerbose: false
  clamav-milter/Whitelist:





More information about the Pkg-clamav-devel mailing list