Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 597640

Summary: >=sys-libs/libsemanage-2.5: semanage fails if python 3 is set as system default
Product: Gentoo Linux Reporter: Mira Ressel <aranea>
Component: SELinuxAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mira Ressel 2016-10-20 20:53:57 UTC
For example, semanage dontaudit -l fails. Everything works fine if python 2.7 is used as default.

This used to work before; have you perhaps removed some code from the ebuilds which used to hardcode python2.7 in the shebangs?
Comment 1 Jason Zaman gentoo-dev 2016-10-25 10:42:12 UTC
Can you try out 2.6?
All the python3 stuff should be in there. It also uses setools4 which completely supports python3 too.
Comment 2 Mira Ressel 2016-10-25 22:25:02 UTC
After upgrading to libse*-2.6, policycoreutils-2.6 and setools-4, everything works fine again.
Comment 3 Jason Zaman gentoo-dev 2016-12-12 14:04:55 UTC
2.6 is stable