[apparmor] Apparmor parser error ... syntax error, unexpected TOK_EQUALS, expecting TOK_MODE

Robert Munteanu robert.munteanu at gmail.com
Tue Sep 22 08:52:08 UTC 2015


(and the list, again)

On Tue, Sep 22, 2015 at 11:31 AM, John Johansen
<john.johansen at canonical.com> wrote:
> ah I missed that! So you should only need to call it on
> usr.sbin.httpd2-prefork, the fragments do not contain enough information
> to be properly parsed and inserted directly.  You will end up with errors
> like the one above.

I see now, thanks ( time to rework my scripts ).

>
> Looking at the dump you attached the ^wordpress child profile is in it
> and would be loaded as part of usr.sbin.httpd2-prefork
>
> If you want to be able to call/load the children profiles separate from
> the usr.sbin.httpd2-prefork profile I can walk you through the changes
> that would be needed, but I will spare you the details unless you ask
> for it.

No, no need for that!

Thanks a lot for the help.




-- 
http://robert.muntea.nu/



More information about the AppArmor mailing list