Python utils lack support for mount rules
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Fix Released
|
Medium
|
Tyler Hicks | ||
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The new aa.py module does not handle mount rules and emits a traceback.
$ mkdir /tmp/profs
$ printf "profile romount {\n mount options=ro,\n}" > /tmp/profs/mount
$ sudo aa-enforce -d /tmp/profs /tmp/profs/mount
Traceback (most recent call last):
File "./aa-enforce", line 30, in <module>
tool.
File "/var/scm/
apparmor.
File "/var/scm/
read_
File "/var/scm/
profile_data = parse_profile_
File "/var/scm/
raise AppArmorExcepti
apparmor.
Changed in apparmor: | |
status: | Triaged → In Progress |
assignee: | nobody → Tyler Hicks (tyhicks) |
Changed in apparmor: | |
status: | In Progress → Fix Committed |
Changed in apparmor: | |
milestone: | none → 2.9.0 |
Status changed to 'Confirmed' because the bug affects multiple users.