Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

How can I get live notifications on my desktop whenever an AppArmor denied message is triggered?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

This can be done with apparmor-notify

  1. Install it through apt (sudo apt-get install apparmor-notify)
  2. In /etc/apparmor/notify.conf change the usergroup to 'adm' (all users using sudo are in this group)
  3. add aa-notify -p to your startup applications.

You can then test it by triggering a AppArmor Denied event with

sudo tcpdump -i eth0 -n -s 0 -w /foo
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.