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

Bug 467258

Summary: <dev-libs/libselinux-2.1.13-r2 does not provide selinux_current_policy_path
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: SELinuxAssignee: Sven Vermeulen (RETIRED) <swift>
Status: VERIFIED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: selinux-utils
Package list:
Runtime testing required: ---

Description Sven Vermeulen (RETIRED) gentoo-dev 2013-04-25 19:27:21 UTC
When calling SELinux userspace utilities, the following Python traceback is shown:

Traceback (most recent call last):
  File "/usr/sbin/semanage-2.7", line 24, in <module>
    import seobject
  File "/usr/lib64/python2.7/site-packages/seobject.py", line 27, in <module>
    import sepolicy
  File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 148, in <module>
    policy_file = selinux.selinux_current_policy_path()
AttributeError: 'module' object has no attribute 'selinux_current_policy_path'


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2013-04-25 19:28:07 UTC
Seems like new userspace depends on patches only available in fedora
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2013-04-25 20:14:31 UTC
in main tree, ~arch'ed
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2013-06-16 18:25:11 UTC
Stabilized