apparmor should provide debian policy compliant way to toggle complain mode

Bug #203137 reported by Jamie Strandboge
2
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
Medium
Jamie Strandboge

Bug Description

Binary package hint: apparmor

Currently apparmor profiles cannot be supported as a conffile because there is not a debian policy compliant way to toggle complain mode. This would be useful for upgrading a package that didn't ship a profile to one that shipped one in enforcing mode. Eg, dapper user has bind9 installed with custom file locations and upgrades to hardy. Hardy's bind9 ships with an enforcing profile, which breaks bind9 when the user upgrades to hardy.

Related branches

Changed in apparmor:
assignee: nobody → jamie-strandboge
importance: Undecided → Medium
status: New → Triaged
Changed in apparmor:
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor - 2.1+1075-0ubuntu6

---------------
apparmor (2.1+1075-0ubuntu6) hardy; urgency=low

  [ Kees Cook ]
  * utils/SubDomain.pm:
    - fix up mask parsing to match kernel version (LP: #202920).
    - fix up syslog parsing regexp to match broken kernels (LP: #202888).
  * profiles/apparmor.d/abstractions/base: add licenses path for reading.
  * profiles/apparmor.d/abstractions/freedesktop.org: include /usr/local.
  * profiles/apparmor.d/usr.sbin.smbd: include print client abstraction.
  * profiles/apparmor.d/abstractions/nameservice: include missing gai.conf
    (LP: #202991).

  [ Jamie Strandboge ]
  * add Debian Policy compliant way to toggle complain mode (LP: #203137)
    - parser/rc.apparmor.functions: add '-C' to PARSER_ARGS if
      force-complain/<profile> exists
    - utils/enforce: remove symlink in force-complain/
    - debian/rules: create /etc/apparmor.d/force-complain

 -- Kees Cook <email address hidden> Mon, 17 Mar 2008 10:28:23 -0700

Changed in apparmor:
status: In Progress → 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.