Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 597640 - >=sys-libs/libsemanage-2.5: semanage fails if python 3 is set as system default
Summary: >=sys-libs/libsemanage-2.5: semanage fails if python 3 is set as system default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-20 20:53 UTC by Mira Ressel
Modified: 2016-12-12 14:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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