If you've arrived on this page in order to report a bug against packages related to AppArmor or packages shipping AppArmor profiles, or packages involving AppArmor, then you've probably already diagnosed if your bug might have been caused by AppArmor. Great.

Provide logs and inspect AppArmor's state on the system

When reporting bugs which might involve a malfunctioning AppArmor profile, one should always provide the logs, and in particular the lines containing "DENIED":

sudo tail -f /var/log/syslog | grep DENIED

or (if auditd is installed):  sudo tail -f /var/log/auditd/auditd.log | grep 'DENIED' 

Find out more on how to inspect and debug AppArmor profiles and processes.

Usertags

If you think you've found a bug in an AppArmor profile provided either by apparmor-profiles-extra or a software in Debian which ships its own profile, you might want to report a bug against one of these packages.

However as the Debian Bug Tracking System ist package-centric, only the package maintainers will be automatically made aware you reported this bug. That is why we kindly ask you to add a usertag to your bug report, so that the Debian AppArmor Packaging Team will also be notified if AppArmor is involved or if you need help diagnosing this very fact.

We have agreed to use certain tags to use. Please tag bugs for the user with the user pkg-apparmor-team AT lists.alioth.debian.org and use these tags when you can, as follows:

Quick how to usertag a bug

By email

Basically, you would send an email to control@bugs.debian.org with the following content:

 user pkg-apparmor-team@lists.alioth.debian.org
 usertags #123456 merge-to-upstream 
 thanks

where "123456" is your bug number and "merge-to-upstream" the tag you want to add to the bug.

There can be multiple lines with different usertags in such an email.

Delete a usertag like this:

 user pkg-apparmor-team@lists.alioth.debian.org
 usertags #123456 - merge-to-upstream 
 thanks

This would delete the tag "merge-to-upstream" on bug number #123456

Using the CLI

The bts command is provided by the devscripts package.

bts  user pkg-apparmor-team@lists.alioth.debian.org . usertags #123456 merge-to-upstream 

where "123456" is your bug number and "merge-to-upstream" the tag you want to add to the bug.