Disconnected path errors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The first error is that the audit message (notice the path):
type=AVC msg=audit(
appears in the audit log. The second is that aa-logprof throws an exception on reading it:
Traceback (most recent call last):
File "/usr/sbin/
apparmor.
File "/usr/lib/
ask_
File "/usr/lib/
severity = sev_db.rank(path, mode_to_str(mode))
File "/usr/lib/
raise AppArmorExcepti
apparmor.
I've been having this problem for several years.
no longer affects: | apparmor (openSUSE) |
The fix *) for this is in upstream AppArmor 2.10 and will also be in 2.9.3.
*) fix means ignoring those log entries to avoid the crash. Ideally aa-logprof should propose adding the attach_disconnected flag. See also https:/ /bugzilla. opensuse. org/show_ bug.cgi? id=918787
Note: You'll need to add flags=( attach_ disconnected) to your openvpn profile
To avoid aa-logprof crashes again, rotate audit.log away (or update to a newer version of the AppArmor utils that contains the fix).