utils crash if logfile does not exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
phablet@
ls: cannot access /var/log/syslog: No such file or directory
phablet@
Traceback (most recent call last):
File "/usr/sbin/
import apparmor.tools
File "/usr/lib/
import apparmor.aa as apparmor
File "/usr/lib/
raise AppArmorExcepti
apparmor.
While in general, systems should be in a state where the required logfile exists, the tools should not crash if they don't, due to a system problem or misconfiguration in /etc/apparmor/
Changed in apparmor: | |
milestone: | none → 2.10 |
Well, at least only those tools that actually need a logfile (aa-logprof and aa-genprof) should error out ;-)
I'll send a patch to the ML in some minutes.