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'
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): set_logfile( args.file) user/apparmor/ utils/apparmor/ aa.py", line 2159, in set_logfile first_file( cfg['settings' ]['logfiles' ]) or '/var/log/syslog' python3. 5/configparser. py", line 1230, in __getitem__
File "aa-logprof", line 37, in <module>
apparmor.
File "/home/
logfile = conf.find_
File "/usr/lib/
raise KeyError(key)
KeyError: 'logfiles'