aa-complain traceback when marking multiple profiles
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
AppArmor | Status tracked in Master | |||||
2.9 |
Fix Released
|
Medium
|
Unassigned | |||
Master |
Fix Released
|
Medium
|
Unassigned | |||
apparmor (Ubuntu) |
Fix Released
|
High
|
Unassigned | |||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU justification]
[Impact]
$ sudo aa-complain /etc/apparmor.
Setting /etc/apparmor.
Traceback (most recent call last):
File "/usr/sbin/
tool.
File "/usr/lib/
apparmor.
File "/usr/lib/
read_
File "/usr/lib/
profile_data = parse_profile_
File "/usr/lib/
store_
File "/usr/lib/
raise AppArmorExcepti
apparmor.
$ sudo grep -R TFTP_DIR /etc/apparmor.d/
/etc/apparmor.
/etc/apparmor.
/etc/apparmor.
Looks like the tools are re-parsing everything, but not resetting whatever is storing the variable declarations.
[Test Case]
sudo aa-enforce /etc/apparmor.d/*
got error
[Regression Potential]
[Other Info]
Changed in apparmor: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: aa-tools |
affects: | ubuntu → apparmor (Ubuntu) |
Changed in apparmor (Ubuntu): | |
assignee: | nobody → Seyeong Kim (xtrusia) |
Changed in apparmor (Ubuntu Trusty): | |
assignee: | nobody → Seyeong Kim (xtrusia) |
Changed in apparmor (Ubuntu): | |
status: | New → In Progress |
Changed in apparmor (Ubuntu Trusty): | |
status: | New → In Progress |
description: | updated |
Changed in apparmor (Ubuntu Trusty): | |
status: | Confirmed → Fix Committed |
I need code review for this.