Confirmed on Lucid with (not yet) backported clamav 0.96.3 from clamav-
ppa.

Seems like this is some new feature in 0.96.3 where freshclam (and
indeed clamav-daemon too) does some checking in /proc/self and also
/proc/filesystems. Attached some syslog entries which appear exactly
after freshclam is done downloading .cvd files (virus definition
databases).

The warnings seem to go away when adding the following line to
/etc/apparmor.d/local/usr.bin.freshclam:

  /proc/** r,

This doesn't seem to be a bug in clamav but a too restrictive apparmor
profile.

** Attachment added: "clam-apparmor-log.txt"
   
https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/645061/+attachment/1622307/+files/clam-apparmor-log.txt

-- 
apparmor blocks freshclam process info after latest update
https://bugs.launchpad.net/bugs/645061
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to