Apparmor profile customisation

apparmor profiles for snaps are generated on the fly at snap install time and re-generated during snap updates from the interface definitions of snapd.

editing them on disk is a rather pointless action unless you are researching how to extend an existing interface and plan to later on submit a merge proposal for this to the snapd source …

the source of the interfaces can be found at:

i dont know what logprof is or how it works, but if you simply use journalctl you should properly see all denials and audit messages from the various confinement technologies involved (apparmor is only a small part anyway)…

if you want more info and suggestions on how to solve a denial you can use the snappy-debug tool from the snappy-debug snap, just run it side by side with your app in a second terminal.