Python abstraction need to be updated to support Python3

Bug #1198672 reported by Kshitij Gupta
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
Fix Released
Undecided
Unassigned

Bug Description

The abstractions/python in the trunk has library entries only for python 2.4 -2.7 and no version of Python3.

Though there exist entries for python 2 and 3 in:

  # python build configuration and headers
  /usr/include/python{2,3}.[0-7]*/pyconfig.h r,

  # python setup script used by apport
  /etc/python{2,3}.[0-7]*/sitecustomize.py r,

Maybe, we can replace:
python{2,3}.[0-7]
with:
python{2.[4-7],3.[0-4]}

Revision history for this message
Kshitij Gupta (kgupta8592) wrote :

Added python3.x wherever seemed appropriate.
system-wide config file however does not exist on my distro, somebody needs to check them.

Revision history for this message
Christian Boltz (cboltz) wrote :

In the meantime, some py3 permissions were added to abstractions/python, but they don't cover everything in your patch. The biggest problem is probably that python 3.[0-2] is not covered in the current abstractions/python.

Revision history for this message
Christian Boltz (cboltz) wrote :
Changed in apparmor:
status: New → Fix Committed
Steve Beattie (sbeattie)
Changed in apparmor:
milestone: none → 2.9.0
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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