child profile names don't allow '-'
Bug #1197145 reported by
Jamie Strandboge
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
Triaged
|
Low
|
Unassigned |
Bug Description
Profile names are allowed to have '-' in their name, such as 'ubuntu-
$ cat /tmp/bad ; apparmor_parser -p /tmp/bad
profile foo-app {
/bin/bar Cx -> bar-app,
profile bar-app {
}
}
profile foo-app {
AppArmor parser error for /tmp/bad in /tmp/bad at line 2: Found unexpected character: '-'
/bin/bar Cx -> bar-[1]
Workaround: use '_' instead:
$ apparmor_parser -p /tmp/f
profile foo-app {
/bin/bar Cx -> bar_app,
profile bar_app {
}
}
Changed in apparmor: | |
importance: | Undecided → Low |
Changed in apparmor: | |
status: | New → Triaged |
tags: | added: aa-parser |
To post a comment you must log in.