clamav should only reload individual AppArmor profiles

Bug #397988 reported by Jamie Strandboge
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clamav (Ubuntu)
Fix Released
Undecided
Jamie Strandboge
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: clamav

https://wiki.ubuntu.com/ApparmorProfileMigration has been updated to use this in postinst:
# Reload AppArmor profile
profile="/etc/apparmor.d/<profile>"
if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then
    apparmor_parser -r "$profile" || true
fi

clamav-daemon and clamav-freshclam should be adjusted so that all of AppArmor is not reloaded.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Changed in clamav (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
status: New → In Progress
Changed in clamav (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clamav - 0.95.2+dfsg-4ubuntu1

---------------
clamav (0.95.2+dfsg-4ubuntu1) karmic; urgency=low

  [ Scott Kitterman ]
  * Merge from debian unstable, remaining changes:
    - Drop build-dep on electric-fence (in Universe)
    - Build-dep on libltdl3-dev instead of libltdl-dev for updating earlier
      releases more easily
    - Add apparmor profiles for clamd and freshclam along with maintainer
      script changes

  [ Jamie Strandboge ]
  * update clamav-freshclam and clamav-daemon postinst to reload the
    individual AppArmor profiles instead of reloading all of AppArmor
    - LP: #397988

clamav (0.95.2+dfsg-4) unstable; urgency=low

  * Fix the changelog

clamav (0.95.2+dfsg-3) unstable; urgency=low

  [ Michael Meskes ]
  * Debconf translation updates
    - Finnish (closes: #534339)

  [ Stephen Gran ]
  * Lots more milter maintainer script cleanups

 -- Scott Kitterman <email address hidden> Mon, 13 Jul 2009 08:42:39 -0400

Changed in clamav (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clamav - 0.95.2+dfsg-4ubuntu1.1

---------------
clamav (0.95.2+dfsg-4ubuntu1.1) jaunty-proposed; urgency=low

  * New upstream micro-version ugrade (LP: #394870)
  * Upgrade packaging to karmic standard due to immaturity of 0.95 packaging
    when jaunty released:

  [ Scott Kitterman ]
  * Add the milter logrotate file to the list of purged files
    - Cherry picked from pkg-clamav git (thanks to Stephen Gran)
      0aebeb19f8169da097d21b021dd67ca06ffe3ca6

  [ Jamie Strandboge ]
  * update clamav-freshclam and clamav-daemon postinst to reload the
    individual AppArmor profiles instead of reloading all of AppArmor
    - LP: #397988

  [ Michael Meskes ]
  * Applied patch assembled by Christian Perrier <email address hidden>:
    - Debconf templates and debian/control reviewed by the debian-l10n-
      english team as part of the Smith review project. Closes: #523573
    - [Debconf translation updates]
      - Swedish. Closes: #525044
      - Japanese. Closes: #525084
      - French. Closes: #526024
      - Portuguese. Closes: #526644
      - Russian. Closes: #526727
      - German. Closes: #526730
      - Dutch. Closes: #526745
      - Galician. Closes: #527320
      - Basque. Closes: #530854
      - Finnish (closes: #534339)
  * Made pid files word readable. There doesn't seem to be any sense in not
    doing this given that the information is available for everyone anyway.
    Closes: #527901

  [ Stephen Gran ]
  * Lots more milter maintainer script cleanups
  * Don't abort dpkg on failed start (closes: #533397)
  * Get rid of spurious patch downgrading version (closes: #533638)
  * Should fix crash on unofficial sigs (closes: #525483)
  * Get rid of ridiculous home rolled suid (closes: #522106)
  * Freshclam gets 0400 or 0444 config file (closes: #524356)
  * Debconf templates and debian/control reviewed by the debian-l10n-
    english team as part of the Smith review project. Closes: #523573
  * [Debconf translation updates]
    - French (closes: #533667)
    - Portuguese (closes: #533779)
    - Russian (closes: #533548)
    - Swedish (closes: #533568)
    - Swedish. Closes: #525044
    - Japanese. Closes: #525084
    - French. Closes: #526024
    - Portuguese. Closes: #526644
    - Russian. Closes: #526727
    - German. Closes: #526730
    - Dutch. Closes: #526745
    - Galician. Closes: #527320
  * Define status_of_proc in the event that it's not in lsb/init-functions
    (closes: #527903)
  * Stop referencing /etc/default/clamav-milter and drop command line
    arguments in milter init script (closes: #526123)
  * Fix wrong variable useage in milter init script
  * More work on clamav-milter's init script

  [ Michael Tautschnig ]
  * Unignored make check results on ia64, sparc (alpha still broken): tell
    electric-fence that the alignment is at least 8 bytes (thanks Aurelien
    Jarno).
  * Fixed LogFile handling in clamav-milter.postinst (logrotation was broken)

 -- Scott Kitterman <email address hidden> Thu, 30 Jul 2009 15:00:14 -0400

Changed in clamav (Ubuntu Jaunty):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.