[Pkg-clamav-devel] Bug#1030171: clamav-daemon: clamav-clamonacc.service fails to start

Ben Goodwin vbgoodwin3 at gmail.com
Tue Jan 31 20:18:37 GMT 2023


Package: clamav-daemon
Version: 1.0.0+dfsg-6
Severity: normal
X-Debbugs-Cc: vbgoodwin3 at gmail.com

systemctl reports that clamav-clamonacc.service failed to start.
Attempting to start the service results in failure.

I have never enabled On-Access Scanning, but systemctl has never
reported that clamav-clamonacc.service failed to start before.

systemctl reports the status as follows:

 clamav-clamonacc.service - ClamAV On-Access Scanner
     Loaded: loaded (/lib/systemd/system/clamav-clamonacc.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Tue 2023-01-31 13:35:23 CST; 39min ago
   Duration: 16ms
       Docs: man:clamonacc(8)
             man:clamd.conf(5)
             https://docs.clamav.net/
    Process: 3031 ExecStartPre=/bin/bash -c while [ ! -S /run/clamav/clamd.ctl ]; do sleep 1; done (code=exited, status=0/SUCCESS)
    Process: 3032 ExecStart=/usr/sbin/clamonacc -F --log=/var/log/clamav/clamonacc.log --move=/root/quarantine (code=exited, status=2)
   Main PID: 3032 (code=exited, status=2)
        CPU: 17ms


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

Config file: clamd.conf
-----------------------
AlertExceedsMax disabled
PreludeEnable disabled
PreludeAnalyzerName = "ClamAV"
LogFile = "/var/log/clamav/clamav.log"
LogFileUnlock disabled
LogFileMaxSize = "4294967295"
LogTime = "yes"
LogClean disabled
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
LogRotate = "yes"
ExtendedDetectionInfo = "yes"
PidFile disabled
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"
ConcurrentDatabaseReload = "yes"
DisableCache disabled
VirusEvent disabled
ExitOnOOM disabled
AllowAllMatchScan = "yes"
Foreground disabled
Debug disabled
LeaveTemporaryFiles disabled
GenerateMetadataJson disabled
User = "clamav"
Bytecode = "yes"
BytecodeSecurity = "TrustSigned"
BytecodeTimeout = "60000"
BytecodeUnsigned disabled
BytecodeMode = "Auto"
DetectPUA disabled
ExcludePUA disabled
IncludePUA disabled
ScanPE = "yes"
ScanELF = "yes"
ScanMail = "yes"
ScanPartialMessages disabled
PhishingSignatures = "yes"
PhishingScanURLs = "yes"
HeuristicAlerts = "yes"
HeuristicScanPrecedence disabled
StructuredDataDetection disabled
StructuredMinCreditCardCount = "3"
StructuredMinSSNCount = "3"
StructuredSSNFormatNormal = "yes"
StructuredSSNFormatStripped disabled
ScanHTML = "yes"
ScanOLE2 = "yes"
AlertBrokenExecutables disabled
AlertBrokenMedia disabled
AlertEncrypted disabled
StructuredCCOnly disabled
AlertEncryptedArchive disabled
AlertEncryptedDoc disabled
AlertOLE2Macros disabled
AlertPhishingSSLMismatch disabled
AlertPhishingCloak disabled
AlertPartitionIntersection disabled
ScanPDF = "yes"
ScanSWF = "yes"
ScanXMLDOCS = "yes"
ScanHWP3 = "yes"
ScanArchive = "yes"
ForceToDisk disabled
MaxScanTime = "120000"
MaxScanSize = "104857600"
MaxFileSize = "26214400"
MaxRecursion = "16"
MaxFiles = "10000"
MaxEmbeddedPE = "10485760"
MaxHTMLNormalize = "10485760"
MaxHTMLNoTags = "2097152"
MaxScriptNormalize = "5242880"
MaxZipTypeRcg = "1048576"
MaxPartitions = "50"
MaxIconsPE = "100"
MaxRecHWP3 = "16"
PCREMatchLimit = "10000"
PCRERecMatchLimit = "5000"
PCREMaxFileSize = "26214400"
OnAccessMountPath disabled
OnAccessIncludePath disabled
OnAccessExcludePath disabled
OnAccessExcludeRootUID disabled
OnAccessExcludeUID disabled
OnAccessExcludeUname disabled
OnAccessMaxFileSize = "5242880"
OnAccessDisableDDD disabled
OnAccessPrevention disabled
OnAccessExtraScanning disabled
OnAccessCurlTimeout = "5000"
OnAccessMaxThreads = "5"
OnAccessRetryAttempts disabled
OnAccessDenyOnError disabled
DevACOnly disabled
DevACDepth disabled
DevPerformance disabled
DevLiblog disabled
DisableCertCheck disabled
AlgorithmicDetection = "yes"
BlockMax disabled
PhishingAlwaysBlockSSLMismatch disabled
PhishingAlwaysBlockCloak disabled
PartitionIntersection disabled
OLE2BlockMacros disabled
ArchiveBlockEncrypted disabled

Config file: freshclam.conf
---------------------------
LogFileMaxSize = "4294967295"
LogTime = "yes"
LogSyslog disabled
LogFacility = "LOG_LOCAL6"
LogVerbose disabled
LogRotate = "yes"
PidFile disabled
DatabaseDirectory = "/var/lib/clamav"
Foreground disabled
Debug disabled
UpdateLogFile = "/var/log/clamav/freshclam.log"
DatabaseOwner = "clamav"
Checks = "24"
DNSDatabaseInfo = "current.cvd.clamav.net"
DatabaseMirror = "db.local.clamav.net", "database.clamav.net"
PrivateMirror disabled
MaxAttempts = "5"
ScriptedUpdates = "yes"
TestDatabases = "yes"
CompressLocalDatabase disabled
ExtraDatabase disabled
ExcludeDatabase 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"
Bytecode = "yes"

clamav-milter.conf not found

Software settings
-----------------
Version: 1.0.0
Optional features supported: MEMPOOL AUTOIT_EA06 BZIP2 LIBXML2 PCRE2 ICONV JSON 

Database information
--------------------
Database directory: /var/lib/clamav
daily.cld: version 26798, sigs: 2018894, built on Tue Jan 31 02:21:25 2023
main.cld: version 62, sigs: 6647427, built on Thu Sep 16 07:32:42 2021
bytecode.cld: version 333, sigs: 92, built on Mon Mar  8 09:21:51 2021
Total number of signatures: 8666413

Platform information
--------------------
uname: Linux 6.1.0-2-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18) x86_64
OS: Linux, ARCH: x86_64, CPU: x86_64
Full OS version: Debian GNU/Linux bookworm/sid
zlib version: 1.2.13 (1.2.13), compile flags: a9
platform id: 0x0a21a0a008000000000c0200

Build information
-----------------
GNU C: 12.2.0 (12.2.0)
sizeof(void*) = 8
Engine flevel: 160, dconf: 160

--- data dir ---
total 641720
-rw-r--r-- 1 clamav clamav   1438720 Mar  8  2021 bytecode.cld
drwxr-xr-x 2 clamav clamav      4096 Aug 12  2018 clamav-1421505f1d54b9bef49b2ff6150c0a40.tmp
drwxr-xr-x 3 clamav clamav      4096 Mar 21  2017 clamav-177173eb124a0339326d90d5114f58a4.tmp
drwxr-xr-x 2 clamav clamav      4096 Aug 12  2018 clamav-46cc997dbbb8ccbef72e8b605cb6f13d.tmp
-rw-r--r-- 1 clamav clamav 191598592 Jan 31 03:19 daily.cld
-rw-r--r-- 1 clamav clamav        69 Sep  5  2021 freshclam.dat
-rw-r--r-- 1 clamav clamav 464053248 Sep 16  2021 main.cld
-rw------- 1 clamav clamav        69 Apr 26  2021 mirrors.dat

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages clamav-daemon depends on:
ii  adduser                         3.130
ii  clamav-base                     1.0.0+dfsg-6
ii  clamav-freshclam [clamav-data]  1.0.0+dfsg-6
ii  debconf [debconf-2.0]           1.5.82
ii  dpkg                            1.21.19
ii  init-system-helpers             1.65.2
ii  libc6                           2.36-8
ii  libclamav11                     1.0.0+dfsg-6
ii  libcurl4                        7.87.0-2
ii  libncurses6                     6.4-2
ii  libsystemd0                     252.4-2
ii  libtinfo6                       6.4-2
ii  procps                          2:4.0.2-3
ii  ucf                             3.0043
ii  zlib1g                          1:1.2.13.dfsg-1

Versions of packages clamav-daemon recommends:
ii  clamdscan  1.0.0+dfsg-6

Versions of packages clamav-daemon suggests:
ii  apparmor      3.0.8-2
pn  clamav-docs   <none>
pn  daemon        <none>
pn  libclamunrar  <none>

-- debconf information:
  clamav-daemon/Bytecode: true
  clamav-daemon/LogFile: /var/log/clamav/clamav.log
  clamav-daemon/LogRotate: true
  clamav-daemon/BytecodeTimeout: 60000
  clamav-daemon/ReadTimeout: 180
  clamav-daemon/LogSyslog: false
  clamav-daemon/MaxThreads: 12
  clamav-daemon/BytecodeSecurity: TrustSigned
  clamav-daemon/ScanArchive: true
  clamav-daemon/ScanSWF: true
  clamav-daemon/FixStaleSocket: true
  clamav-daemon/LogTime: true
  clamav-daemon/MaxScriptNormalize: 5M
  clamav-daemon/LocalSocket: /var/run/clamav/clamd.ctl
  clamav-daemon/TCPAddr: any
  clamav-daemon/SelfCheck: 3600
  clamav-daemon/StatsEnabled: false
  clamav-daemon/LocalSocketMode: 666
  clamav-daemon/AddGroups:
  clamav-daemon/ForceToDisk: false
  clamav-daemon/MaxHTMLNormalize: 10M
  clamav-daemon/TCPSocket: 3310
  clamav-daemon/MaxHTMLNoTags: 2M
  clamav-daemon/StreamMaxLength: 25
  clamav-daemon/StatsHostID: auto
  clamav-daemon/LocalSocketGroup: clamav
  clamav-daemon/MaxConnectionQueueLength: 15
  clamav-daemon/MaxEmbeddedPE: 10M
  clamav-daemon/ScanMail: true
  clamav-daemon/MaxZipTypeRcg: 1M
  clamav-daemon/User: clamav
  clamav-daemon/FollowDirectorySymlinks: false
  clamav-daemon/MaxDirectoryRecursion: 15
  clamav-daemon/OnAccessMaxFileSize: 5M
  clamav-daemon/StatsPEDisabled: true
  clamav-daemon/ScanOnAccess: false
  clamav-daemon/FollowFileSymlinks: false
  clamav-daemon/DisableCertCheck: false
  clamav-daemon/TcpOrLocal: UNIX
  clamav-daemon/AllowAllMatchScan: true
  clamav-daemon/debconf: true
  clamav-daemon/StatsTimeout: 10



More information about the Pkg-clamav-devel mailing list