Bug 902428 - [abrt] policycoreutils-python-2.1.13-49.fc18: __init__.py:48:__get_installed_policy:ValueError: No SELinux Policy installed
Summary: [abrt] policycoreutils-python-2.1.13-49.fc18: __init__.py:48:__get_installed_...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:91756c07f0b6a4cc05529c87459...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-21 16:30 UTC by Niki W. Waibel
Modified: 2013-02-05 03:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-05 03:03:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (698 bytes, text/plain)
2013-01-21 16:30 UTC, Niki W. Waibel
no flags Details
File: core_backtrace (416 bytes, text/plain)
2013-01-21 16:30 UTC, Niki W. Waibel
no flags Details
File: environ (2.62 KB, text/plain)
2013-01-21 16:30 UTC, Niki W. Waibel
no flags Details
File: smolt_data (2.55 KB, text/plain)
2013-01-21 16:30 UTC, Niki W. Waibel
no flags Details

Description Niki W. Waibel 2013-01-21 16:30:19 UTC
Version-Release number of selected component:
policycoreutils-python-2.1.13-49.fc18

Additional info:
cmdline:        /usr/bin/python -Es /sbin/semanage port -l
executable:     /sbin/semanage
kernel:         3.7.2-201.fc18.x86_64
uid:            0

Truncated backtrace:
__init__.py:48:__get_installed_policy:ValueError: No SELinux Policy installed

Traceback (most recent call last):
  File "/sbin/semanage", line 25, 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 59, in <module>
    policy_file = __get_installed_policy()
  File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 48, in __get_installed_policy
    raise ValueError(_("No SELinux Policy installed"))
ValueError: No SELinux Policy installed

Local variables in innermost frame:
path: '/etc/selinux/targeted/policy/policy'
policies: []

Comment 1 Niki W. Waibel 2013-01-21 16:30:22 UTC
Created attachment 684435 [details]
File: backtrace

Comment 2 Niki W. Waibel 2013-01-21 16:30:24 UTC
Created attachment 684436 [details]
File: core_backtrace

Comment 3 Niki W. Waibel 2013-01-21 16:30:33 UTC
Created attachment 684437 [details]
File: environ

Comment 4 Niki W. Waibel 2013-01-21 16:30:38 UTC
Created attachment 684438 [details]
File: smolt_data

Comment 5 Daniel Walsh 2013-01-21 21:04:57 UTC
fixed in policycoreutils-2.1.13-55.fc18

Comment 6 Fedora Update System 2013-01-21 21:06:59 UTC
policycoreutils-2.1.13-55.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/policycoreutils-2.1.13-55.fc18

Comment 7 Fedora Update System 2013-01-23 01:27:31 UTC
Package policycoreutils-2.1.13-55.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.13-55.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1186/policycoreutils-2.1.13-55.fc18
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-02-05 03:03:32 UTC
policycoreutils-2.1.13-55.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.