Comment 1 for bug 1606679

Revision history for this message
Christian Boltz (cboltz) wrote :

This affects running aa-logprof tests (once we have them - the current tests "only" test aa.py etc.) and people who want to run aa-logprof from the sources without installing logprof.conf first.

Traceback (most recent call last):
  File "aa-logprof", line 37, in <module>
    apparmor.set_logfile(args.file)
  File "/home/user/apparmor/utils/apparmor/aa.py", line 2159, in set_logfile
    logfile = conf.find_first_file(cfg['settings']['logfiles']) or '/var/log/syslog'
  File "/usr/lib/python3.5/configparser.py", line 1230, in __getitem__
    raise KeyError(key)
KeyError: 'logfiles'