Alright I have replicated and there is indeed a problem here. It will
work if the first profile starts with a / but fails when it doesn't
** Changed in: apparmor (Ubuntu)
Status: New => Confirmed
** Changed in: apparmor (Ubuntu)
Assignee: (unassigned) => John Johansen (jjohansen)
Hi John,
Thanks for the quick reply.
I did what you suggested, but it looks like it is still not working.
After I remove the whitespace, I still have the same error:
AppArmor parser error for root.test.shell in root.test.shell at line 7:
syntax error, unexpected TOK_ID, expecting
Yuqiong Sun,
the parser is sensitive to white space. If your profile has white space
in the name you will need to use quotes around it
/root/test/read px -> "readtest1 //& readtest2",
otherwise you will need to remove the white space and specify it as
/root/test/read px -> readtest1//,
3 matches
Mail list logo