aa-logprof crash when saving profiles - invalid regex for firefox{,*[^s][^h]}
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
AppArmor |
New
|
Undecided
|
Unassigned |
Bug Description
Reading log entries from /var/log/syslog.
Updating AppArmor profiles in /etc/apparmor.d.
Profile: /opt/Enpass/
Execute: /usr/bin/lsof
Severity: unknown
(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On / (D)eny / Abo(r)t / (F)inish
Profile: /usr/bin/
Execute: /usr/bin/unrar-free
Severity: unknown
(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On / (D)eny / Abo(r)t / (F)inish
Target profile exists: /etc/apparmor.
Profile: /usr/lib/
Execute: /usr/lib/
Severity: unknown
(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On / (D)eny / Abo(r)t / (F)inish
Should AppArmor sanitise the environment when
switching profiles?
Sanitising environment is more secure,
but some applications depend on the presence
of LD_PRELOAD or LD_LIBRARY_PATH.
(Y)es / [(N)o]
Profile: /usr/bin/xdg-open
Execute: /usr/bin/exo-open
Severity: unknown
(I)nherit / (C)hild / (P)rofile / (N)amed / (U)nconfined / (X) ix On / (D)eny / Abo(r)t / (F)inish
= Changed Local Profiles =
The following local profiles were changed. Would you like to save them?
[1 - /opt/Enpass/
2 - /usr/lib/
3 - /usr/bin/
(S)ave Changes / Save Selec(t)ed Profile / [(V)iew Changes] / View Changes b/w (C)lean profiles / Abo(r)t
Writing updated profile for /opt/Enpass/
Writing updated profile for /usr/bin/
Writing updated profile for /usr/lib/
Traceback (most recent call last):
File "/usr/sbin/
apparmor.
File "/usr/lib/
collapse_log()
File "/usr/lib/
if not is_known_
File "/usr/lib/
if profile[
File "/usr/lib/
if r.is_covered(rule, check_allow_deny, check_audit):
File "/usr/lib/
return self.is_
File "/usr/lib/
if not self._is_
File "/usr/lib/
if not self_value.
File "/usr/lib/
self.
File "/usr/lib/
return _compile(pattern, flags)
File "/usr/lib/
p = sre_compile.
File "/usr/lib/
p = sre_parse.parse(p, flags)
File "/usr/lib/
raise source.
sre_constants.
An unexpected error occoured!
INPUT I,I,P,Y,F
attached the log file
I had a similar error occur if I hit (inheret) for the last item as well.. so that's why this time I hit the F there to save them.