mod_apparmor: no error message when requesting non-existing hat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Expired
|
Medium
|
Unassigned |
Bug Description
- AppArmor 2.7.2 on openSUSE 12.1
- httpd2-prefork profile in complain mode
- using mod_apparmor with one hat per vhost (specified with AADefaultHatName)
mod_apparmor doesn't print/log any error message if the hat specified with AADefaultHatName does not exist. Instead, I get tons of audit.log entries for the DEFAULT_URI hat, for example
type=AVC msg=audit(
Expected behaviour:
Write some error message to audit.log or the apache error log if the hat specified in AADefaultHatName does not exist.
It would be even better if an audit.log entry would be written so that logprof can propose to create the missing hat.
Is this fixed in newer releases?