I am trying to extend the permissions associated with a binary that is
listed in the package.yaml directory of my framework. I modelled the
approach on the way profiles are associated with services and so the
package.yaml snippet looks like:

binaries:
 - name: ./bin/my-binary
    apparmor-profile: meta/my-binary.profile

I then repackage the framework with the snappy tool and install it
remotely, then I re-run sudo aa-clickhook -f and sudo aa-profilehook -f.

However, the resulting apparmor profile in:

/var/lib/apparmor/profiles/click_{my-framework}_{my-binary}_{my-framework-version}

is just the default profile, rather than the one I specified in
meta/my-binary.profile.

What am I doing wrong? What do I need to change?

jon.
-- 
snappy-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snappy-devel

Reply via email to