Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apparmor (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1741584
Title:
comments in variables
Status in AppArmor:
New
Status in apparmor package in Ubuntu:
Confirmed
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://lists.ubuntu.com/archives/apparmor/2018-January/011418.html
> 24| @{libreoffice_ext} = [tT][xX][tT] #.txt
> 25| @{libreoffice_ext} += {,f,F}[oO][dDtT][tTsSpPbBgGfF] #All the open
> 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//*,/root,/mnt,/media}/**.{[tT][xX][tT],#.txt,{,f,F}[oO][dDtT][tTsSpPbBgGfF],#All,the,open,document,format,[xX][mMsS][lL],#.xml,and,xsl,[pP][dD][fF],#.pdf,[uU][oO][fFtTsSpP],#Unified,office,format,{,x,X}[hH][tT][mM]{,l,L},#(x)htm(l),[jJ][pP][gG],[jJ][pP][eE][gG],[pP][nN][gG],[sS][vV][gG],[sS][vV][gG][zZ]99251,[tT][iI][fF],[tT][iI][fF][fF],[dD][oO][cCtT]{,x,X},[rR][tT][fF],[xX][lL][sSwWtT]{,x,X},[dD][iIbB][fF],#.dif,dbf,[cCtT][sS][vV],#.tsv,.csv,[sS][lL][kK],[pP][pP][tTsS]{,x,X},[pP][oO][tT]{,m,M},[sS][wW][fF],#Flash,[pP][sS][dD],#Photoshop,[mM][mM][lL]})
I've filed a bug for this profile but perhaps the solution should be
to modify the AppArmor parser instead:
https://bugs.launchpad.net/ubuntu/+source/libreoffice-
l10n/+bug/1741581
Thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/apparmor/+bug/1741584/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp