Matching of named profile fails when attachment doesn't contain globbing

Bug #731155 reported by John Johansen on 2011-03-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
Undecided
Unassigned
2.6
High
Unassigned

Bug Description

Profiles that specify a name and attachment specification fail to attach when the attachment specification doesn't contain globbing.

eg.
   # profile name and attachment the same - attaches as expected
   profile /usr/lib/chromium-browser/chromium-browser

   # profile without attachment specification - does not attach as expected
  profile chromium-browser

  # profile with name and attachment specification where the attachment specification uses globbing - attaches as expected
  profile chromium-browser /usr/lib/chromium-browser/chromium-broswer*

  # profile with name and attachment specification without globbing - FAILS to attach when it should
  profile chromium-browser /usr/lib/chromium-browser/chromium-browser

The attachment of the profile can be seen using aa-status or ps -Zu <userid>

Related branches

John Johansen (jjohansen) wrote :
Changed in apparmor:
status: New → Fix Released
Steve Beattie (sbeattie) wrote :

AppArmor 2.6.1 was released.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers