~osomon/apparmor/newer-nvidia-abstraction-trunk

Viewing all changes in revision 3635.

  • Committer: Tyler Hicks
  • Date: 2017-03-02 21:20:45 UTC
  • Revision ID: tyhicks@canonical.com-20170302212045-n7i6poaag0cd3rn3
utils: Improve error messages when profiles/parser is not found

When aa.py is imported, it looks for a set of profiles and it also looks
for the parser. Both of these paths are configured by logprof.conf but
it isn't always obvious which logprof.conf file was used and, therefore,
it isn't always obvious where aa.py is looking. This patch includes the
paths in the error messages.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Acked-by: Christian Boltz <apparmor@cboltz.de>
Acked-by: Seth Arnold <seth.arnold@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: