[Bug 310737] [NEW] klamav update dies unexpectedly in intrepid with apparmor active

buggrall fracpete at yahoo.com
Mon Dec 22 22:01:29 UTC 2008


Public bug reported:

I ran into a problem with updating klamav this morning (freshly installed Intrepid Ibex/8.10): 
"the update process died unexpectedly. did you kill it?"

Running 'dmesg' unearths a problem with apparmor premissions (freshclam
has no read/write permission in /tmp):

[25847.394171] type=1503 audit(1229981927.656:28):
operation="inode_permission" requested_mask="r::" denied_mask="r::"
fsuid=1000 name="/tmp/kde-peter/klamavwGmkJa.tmp" pid=6960
profile="/usr/bin/freshclam"

Adding the following line in '/etc/apparmor.d/usr.bin.freshclam' (just before the closing curly brace) fixed it:
  /tmp/** rw,

Cheers, Peter

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

-- 
klamav update dies unexpectedly in intrepid with apparmor active
https://bugs.launchpad.net/bugs/310737
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