aa-logprof requires /etc/apparmor/logprof.conf
Bug #1606679 reported by
Uzair Shamim
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
Currently when following the build instructions for apparmor, the aa-tools (logprof) do not function until /etc/apparmor/
System was 16.04.1 LTS, apparmor version from launchpad.
summary: |
- Apparmor setup requires manually copying logprof.conf + aa-logprof requires /etc/apparmor/logprof.conf |
description: | updated |
To post a comment you must log in.
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'