aa-cleanprof (and others?) duplicate quotes in file rules

Bug #1328707 reported by Christian Boltz on 2014-06-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Test profile:

#include <tunables/global>

profile "/bin/foo bar" {
  #include <abstractions/base>

  "/bin/foo bar" mrix,
  /proc/net/r* r,

When I run aa-cleanprof on this profile, additional quotes are added to the file rule:
   ""/bin/foo bar"" mrix,

If you run aa-cleanprof on it again and again, you end up with something like
   """"""/bin/foo bar"""""" mrix,

This probably also affects other py tools like aa-logprof (not tested yet).

Steve Beattie (sbeattie) on 2014-06-25
Changed in apparmor:
status: New → Confirmed
importance: Undecided → Medium
tags: added: aa-tools
Christian Boltz (cboltz) wrote :

Fix commited to trunk r2745

Changed in apparmor:
status: Confirmed → Fix Committed
Steve Beattie (sbeattie) on 2014-10-12
Changed in apparmor:
milestone: none → 2.9.0
Steve Beattie (sbeattie) wrote :

Apparmor 2.9.0 has been released; closing.

Changed in apparmor:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers