ClamAV conflicts with AppArmor

Nov 12, 2025
63
6
8
There are dozen of entries in syslog like this:

Code:
2026-11-13T10:57:30.054103+01:00 mailgw kernel: audit: type=1400 audit(1794563850.052:46216): apparmor="DENIED" operation="open" class="file" profile="/usr/sbin/clamd" name="/var/spool/pmg/active/1014436AF6DF09E99DA" pid=606154 comm="clamd" requested_mask="r" denied_mask="r" fsuid=107 ouid=988

Looks like the installed AppArmor-profile needs to be tweaked a bit. Should I report an issue for that?
Thanks!
 
Those denials look like clamd trying to read the mail files in /var/spool/pmg/active, so the profile just doesn't cover that path. Does virus scanning still work for you or is it only log noise? I'd report it either way.