Skip to content

clamonacc warning, file path check failure #1050

@Massimo-B

Description

@Massimo-B

Describe the bug

clamonacc fails on almost every file in clamd.log like this:
Thu Oct 5 07:04:12 2023 -> WARNING: File path check failure for: /home/mb/.cache/mesa_shader_cache/95/de91d163271622077df15cd694dd8dc05f5685
I can't see any symlinking in that path.

Filesystem is btrfs.

How to reproduce the problem

$ clamconf -n
Checking configuration files in /etc/clamav

Config file: clamd.conf
-----------------------
LogFile = "/var/log/clamav/clamd.log"
LogFileMaxSize = "10485760"
LogTime = "yes"
LogVerbose = "yes"
ExtendedDetectionInfo = "yes"
PidFile = "/var/run/clamd.pid"
LocalSocket = "/tmp/clamd.socket"
ExcludePath = "^/proc/", "^/sys/"
MaxDirectoryRecursion = "20"
User = "clamav"
DetectPUA = "yes"
AlertBrokenExecutables = "yes"
AlertEncrypted = "yes"
AlertEncryptedArchive = "yes"
AlertPhishingSSLMismatch = "yes"
AlertPhishingCloak = "yes"
AlertPartitionIntersection = "yes"
OnAccessIncludePath = "/home"
OnAccessMaxFileSize = "104857600"
OnAccessPrevention = "yes"

Config file: freshclam.conf
---------------------------
PidFile = "/var/run/freshclam.pid"
UpdateLogFile = "/var/log/clamav/freshclam.log"
DatabaseMirror = "database.clamav.net"

clamav-milter.conf not found

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

Database information
--------------------
Database directory: /var/lib/clamav
main.cvd: version 62, sigs: 6647427, built on Thu Sep 16 14:32:42 2021
bytecode.cvd: version 334, sigs: 91, built on Wed Feb 22 22:33:21 2023
daily.cld: version 27056, sigs: 2042596, built on Mon Oct  9 09:40:11 2023
Total number of signatures: 8690114

Platform information
--------------------
uname: Linux 6.1.41-gentoo #1 SMP PREEMPT_DYNAMIC Thu Jul 27 15:19:56 CEST 2023 x86_64
OS: Linux, ARCH: x86_64, CPU: x86_64
Full OS version: "Gentoo Linux"
zlib version: 1.2.13 (1.2.13), compile flags: a9
platform id: 0x0a21b4b408000000000c0301

Build information
-----------------
GNU C: 12.3.1 20230526 (12.3.1)
sizeof(void*) = 8
Engine flevel: 180, dconf: 180

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions