Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467258 - <dev-libs/libselinux-2.1.13-r2 does not provide selinux_current_policy_path
Summary: <dev-libs/libselinux-2.1.13-r2 does not provide selinux_current_policy_path
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: SELinux (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
Whiteboard: selinux-utils
Depends on:
Reported: 2013-04-25 19:27 UTC by Sven Vermeulen (RETIRED)
Modified: 2013-06-16 18:25 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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/", line 27, in <module>
    import sepolicy
  File "/usr/lib64/python2.7/site-packages/sepolicy/", 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