I like to remind everyone using #apparmor that deny rules are dangerous.
Especially if you are dealing with interfaces with no/limited ways of communicating errors, for example when you want to pass a TCP-Socket over a Unix-socket and the receiving process runs under a "deny network inet stream" rule (Ubuntu Extended Apparmor)
#linux #linuxsecurity
@mxk Yes, true. And most users are not aware that deny rules are also honored in complain mode. The problem is that deny rules are not logged by default. But fortunately this can be changed:
https://man.archlinux.org/man/extra/apparmor/apparmor.7.en#DEBUGGING