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
Public bug reported:
I'm using juju to deploy apparmor profiles and I've found that when the
apparmor path isn't found the command still exists 0. If this exited
with a non zero status I could detect I had a problem in my code and
take action :)
root@ip-172-31-29-100:/etc/apparmor.d/local# aa-co
2 matches
Mail list logo