pivot_root audit modifier ignored when oldroot and newroot specified
Bug #1432045 reported by
Tyler Hicks
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Low
|
Unassigned | ||
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
$ echo "/t { pivot_root oldroot=/ /a, }" | apparmor_parser -qS | md5sum
422b222b6608dff
$ echo "/t { audit pivot_root oldroot=/ /a, }" | apparmor_parser -qS | md5sum
422b222b6608dff
$ echo "/t { audit deny pivot_root oldroot=/ /a, }" | apparmor_parser -qS | md5sum
9e598c327781b16
Note that the audit modifier doesn't change the binary policy file but the audit deny modifier does.
Also, the binary policy file changes as expected on "audit pivot_root," and "audit pivot_root oldroot=/,". That is, this bug only seems to happen when oldroot and newroot are both specified.
Related branches
description: | updated |
Changed in apparmor: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Automated tests for this bug can be found here:
https:/ /lists. ubuntu. com/archives/ apparmor/ 2015-March/ 007412. html