You can add nearly arbitrary comments to an AppArmor profile but please
be sure that you follow the comment syntax as described in the
apparmor.d(5) manpage:

   Comments
       Comments start with # and may begin at any place within a
       line. The comment ends when the line ends. This is the same
       comment style as shell scripts.

So, your first comments,

Name: usr.bin.pidgin
Directory: /etc/apparmor.d/

would be accepted if you re-write them like this:

# Name: usr.bin.pidgin
# Directory: /etc/apparmor.d/

But you said that doing so was still broken? Can you upload your new
file and the output of the commands:

apparmor_parser -QN /etc/apparmor.d/usr.bin.pidgin
sudo aa-enforce pidgin

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1066369

Title:
  AppArmor parser error, Warning from stdin (line 1), syntax error.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1066369/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to