Python abstraction thinks 2.6 is in site-packages

Bug #350820 reported by Jonathan Davies
2
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Fix Released
Low
Kees Cook

Bug Description

Binary package hint: apparmor

In /etc/apparmor.d/abstractions/python:

   "/usr/local/lib{,32,64}/python2.[456]/site-packages/ r,
    /usr/local/lib{,32,64}/python2.[456]/site-packages/ r,"

However 2.6 has it's own dist-packages directory instead of the old site-packages one.

Also there is no reference to /usr/local/lib/python2.6/dist-packages/.

Jonathan Davies (jpds)
Changed in apparmor (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Jonathan Davies (jpds)
Changed in apparmor (Ubuntu):
assignee: nobody → jpds
status: Triaged → In Progress
Revision history for this message
Jonathan Davies (jpds) wrote :

Fix commited for this in my Bazaar branch at:

https://code.launchpad.net/~jpds/apparmor/fix_350820

Revision history for this message
Kees Cook (kees) wrote :

Thanks! I modified your proposed patch a bit, just to make it a bit more compact. This will be in the next AppArmor upload.

Changed in apparmor (Ubuntu):
assignee: jpds → kees
milestone: none → ubuntu-9.04
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apparmor - 2.3+1289-0ubuntu13

---------------
apparmor (2.3+1289-0ubuntu13) jaunty; urgency=low

  [ Kees Cook ]
  * abstractions/gnome: allow /proc/$pid/mounts for gvfs.
  * abstractions/python: clean up allowed paths (LP: #350820), thanks to
    Jonathan Davies.

  [ Jamie Strandboge ]
  * abstractions/user-tmp: allow 'k' for files in tmp dirs (LP: #351275)

 -- Jamie Strandboge <email address hidden> Tue, 31 Mar 2009 09:57:57 -0500

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.