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

Robert Munteanu robert.munteanu at gmail.com
Tue Sep 22 13:31:39 UTC 2015


On Tue, Sep 22, 2015 at 4:10 PM, Christian Boltz <apparmor at cboltz.de> wrote:
> 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.

Yup, we eventually arrived at this conclusion. Thanks!

Robert



More information about the AppArmor mailing list