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

Christian Boltz apparmor at cboltz.de
Tue Sep 22 13:10:11 UTC 2015


Hello,

Am Dienstag, 22. September 2015 schrieb John Johansen:
...
> >>  ^wordpress {
...
> >>  }
> >> 
> >> makes apparmor_parser complain:
> >> 
> >> $ apparmor_parser -r wordpress
                          ^^^^^^^^^
You tried to load a profile sniplet (which contains only the ^wordpress 
hat), but you need to load the whole apache profile.

> >> Found reference to variable PROC, but is never declared
> 
> strange, @{PROC} is definitely defined earlier,
> 
> can you provide me an updated output for
>   apparmor_parser -p /etc/apparmor.d/usr.sbin.httpd2-prefork

I doubt this is needed ;-) - see above for the most likely reason.


Regards,

Christian Boltz
-- 
<Directory /cgi-bin/cpanel>
    AAHatName are-you-serious
</Directory>
[Steve Beattie]




More information about the AppArmor mailing list