So I dug into this with pydb and figured out what's going on.
utils/apparmor/tools.py lines 79 and 81 need to be changed to
fatal_error(message). I tried both fatal_error and also sys.exit(1) and
aa-complain seems to ignore it and still exit 0. I'm not exactly sure
why though. It seems there's a
** Changed in: apparmor (Ubuntu)
Importance: Undecided => Medium
** Changed in: apparmor (Ubuntu)
Importance: Medium => High
** Also affects: hundredpapercuts
Importance: Undecided
Status: New
** Changed in: hundredpapercuts
Status: New => Confirmed
** Changed in: hundred
** Tags added: aa-tools
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1564625
Title:
aa-complain exits 0 when path not found
To manage notifications about this bug go to:
https://bugs.launchpad.net
** Also affects: apparmor
Importance: Undecided
Status: New
** Tags added: xenial
** Changed in: apparmor
Status: New => Confirmed
** Changed in: apparmor (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, wh