SRU for clamav on intrepid (freshclam apparmor profile updates)
Bug #360655 reported by
Jamie Strandboge
This bug report is a duplicate of:
Bug #359301: klamav can't download virus database on jaunty.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clamav (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: clamav
1. The freshclam apparmor profile blocks clamav frontends, causing freshclam to not work
2. The bugs fixed have been addressed in Jaunty in the freshclam apparmor profile
3. debdiff for uploaded package is attached
4.
TEST CASE (/tmp):
1. mkdir /tmp/foo
2. freshclam --log=/
TEST CASE (klamav):
TODO
TEST CASE (clamtk):
TODO
5. regression potential is considered very low, as the only change was to make apparmor less restrictive
To post a comment you must log in.
TEST CASE (klamav):
- install klamav 0.44 from Intrepid
- remove /home/user/.klamav
- run klamav 'for the first time', confirm the first dialogs about the database directory, and click 'Download' when presented with the 'Download Virus Database' dialog
- click some more OKs with quarantine dialog
- klamav starts, and gives an error message about the config file
- check /var/log/syslog, should see something like this:
Apr 14 00:08:13 utest-ii kernel: [95648.705680] type=1503 audit(123965689 3.785:29) : operation= "inode_ permission" requested_ mask="r: :" denied_mask="r::" fsuid=1000 name="/ tmp/kde- gimre/klamavQzL 8ia.tmp" pid=13182 profile= "/usr/bin/ freshclam"
This means that freshclam can't write it's temporary config file to /tmp/kde-<user>/.