comments in variables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned | ||
apparmor (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Nibaldo González discovered that AppArmor parses variable assignments differently than many other lines and includes #comments if they are on the same line in a surprising fashion:
https:/
> 24| @{libreoffice_ext} = [tT][xX][tT] #.txt
> 25| @{libreoffice_ext} += {,f,F}[
> document format
...
$ apparmor_parser -Qd < foo | grep '#'
Warning from stdin (line 1): apparmor_parser: cannot use or update cache, disable, or force-complain via stdin
Mode: rwak: Name: ({/home/
I've filed a bug for this profile but perhaps the solution should be to modify the AppArmor parser instead:
https:/
Thanks
Status changed to 'Confirmed' because the bug affects multiple users.