This kernel logs the missing profile: type=AVC msg=audit(1348594826.613:107): apparmor="DENIED" operation="exec" info="profile not found" error=-2 parent=4440 profile="/tmp/bug/start//foo" name="/tmp/bug/baz" pid=4442 comm="foo" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
$ cat /proc/version_signature Ubuntu 3.5.0-13.14~lp1045074-generic 3.5.3
This kernel logs the missing profile: 1348594826. 613:107) : apparmor="DENIED" operation="exec" info="profile not found" error=-2 parent=4440 profile= "/tmp/bug/ start// foo" name="/tmp/bug/baz" pid=4442 comm="foo" requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000
type=AVC msg=audit(
$ cat /proc/version_ signature 14~lp1045074- generic 3.5.3
Ubuntu 3.5.0-13.