[Bug 784060] [NEW] freshclam fails in DNS query due to apparmor

Skaperen 784060 at bugs.launchpad.net
Tue May 17 14:40:55 UTC 2011


Public bug reported:

Binary package hint: clamav-freshclam

Running /usr/bin/freshclam it is denied read access to /etc/resolv.conf
due to /etc/apparmor.d/usr.bin.freshclam not specifying read permission
for it.  Then the resolver falls back to sending the DNS query to
127.0.0.1.  On systems where DNS caching is hosted on other machines and
not on the local machine, there will be no DNS answer, and freshclam
will fail.  Manually adding permission for reading /etc/resolv.conf to
/etc/apparmor.d/usr.bin.freshclam works around this problem.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: clamav-freshclam (not installed)
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue May 17 10:34:04 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: clamav

** Affects: clamav (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug maverick

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to clamav in Ubuntu.
https://bugs.launchpad.net/bugs/784060

Title:
  freshclam fails in DNS query due to apparmor



More information about the Ubuntu-server-bugs mailing list