I have experienced same problem on Kubuntu 16.04.
aa-logprof asked if to add ptrace for firefox: Profile: /usr/lib/firefox/firefox{,*[^s][^h]} Access mode: trace Peer: /usr/lib/firefox/firefox\{,\*\[^s\]\[^h\]\}
[1 - ptrace trace peer=/usr/lib/firefox/firefox\{,\*\[^s\]\[^h\]\},] (A)llow / [(D)eny] / (I)gnore / Audi(t) / Abo(r)t / (F)inish
I allowed, and after this line appeared in usr.bin.firefox profile: trace trace peer=/usr/lib/firefox/firefox\{,\*\[^s\]\[^h\]\},
I get this "sre_constants.error: unbalanced parenthesis at position 59"
I have experienced same problem on Kubuntu 16.04.
aa-logprof asked if to add ptrace for firefox: firefox/ firefox{ ,*[^s][ ^h]} firefox/ firefox\ {,\*\[^ s\]\[^h\ ]\}
Profile: /usr/lib/
Access mode: trace
Peer: /usr/lib/
[1 - ptrace trace peer=/usr/ lib/firefox/ firefox\ {,\*\[^ s\]\[^h\ ]\},]
(A)llow / [(D)eny] / (I)gnore / Audi(t) / Abo(r)t / (F)inish
I allowed, and after this line appeared in usr.bin.firefox profile: lib/firefox/ firefox\ {,\*\[^ s\]\[^h\ ]\},
trace trace peer=/usr/
I get this "sre_constants. error: unbalanced parenthesis at position 59"