Comment 0 for bug 1350427

Revision history for this message
Pete Woods (pete-woods) wrote :

Following the apparmor policy updates a little while ago, scopes are now named after the hook short ID.

For a scope package "package-name" with a hook "hook-name" to the directory "dir-name".
{
    ...
    "hooks": {
        "HOOKNAME": {
            "scope": "DIRNAME",
            "apparmor": "apparmor.json"
        }
    },
   "name": "PACKAGENAME"
    ...
}

The tool should look in

"DIRNAME/PACKAGENAME_HOOKNAME.ini"

for the the ini file.