[Bug 487631] Re: clamdscan clamav-daemon error

Imre Gergely gimre at narancs.net
Tue Nov 24 19:02:01 UTC 2009


Hi

This is actually not a bug. Please see this bugreport to better
understand what's going on:

https://bugs.launchpad.net/ubuntu/+source/clamav/+bug/450250

In short: clamdscan uses clamav-daemon to scan for files. When you run 'clamdscan /path/to/file', in the background it just 'orders' clamav-daemon to open that file and scan it.
Because of Apparmor, clamav-daemon doesn't have the read permissions to open any file in any random directory. This _could_ be the problem in your case.

You may have to adjust clamav daemon's apparmor profile to give
permissions to qmail's temporary folders (in which the messages are
scanned). Look for apparmor messages in the logfile (usually you do a
grep for 'audit' in /var/log/messages).

Please update this bugreport if you have problems, I will mark it as
Incomplete for now.

** Changed in: clamav (Ubuntu)
       Status: Invalid => Incomplete

-- 
clamdscan clamav-daemon error
https://bugs.launchpad.net/bugs/487631
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list