aa-notify doesn't have an option to silence specific events - hey, it's job is to annoy^Wnotify you, so what do you expect? ;-)
To silence the notifications, you'll have to update the profile.
The easiest solution is probably to download the latest smbd profile from http://bazaar.launchpad.net/~apparmor-dev/apparmor/2.11/view/head:/profiles/apparmor.d/usr.sbin.smbd Replace your /etc/apparmor.d/usr.sbin.smbd profile with this file and reload AppArmor.
Disclaimer: I can only assume that Ubuntu uses this profile (I use openSUSE ;-) so it's probably a good idea to keep a backup of the original smbd profile (move it outside of /etc/apparmor.d/ to avoid conflicts).
aa-notify doesn't have an option to silence specific events - hey, it's job is to annoy^Wnotify you, so what do you expect? ;-)
To silence the notifications, you'll have to update the profile.
The easiest solution is probably to download the latest smbd profile from bazaar. launchpad. net/~apparmor- dev/apparmor/ 2.11/view/ head:/profiles/ apparmor. d/usr.sbin. smbd d/usr.sbin. smbd profile with this file and reload AppArmor.
http://
Replace your /etc/apparmor.
Disclaimer: I can only assume that Ubuntu uses this profile (I use openSUSE ;-) so it's probably a good idea to keep a backup of the original smbd profile (move it outside of /etc/apparmor.d/ to avoid conflicts).