Bug 902428

Summary: [abrt] policycoreutils-python-2.1.13-49.fc18: __init__.py:48:__get_installed_policy:ValueError: No SELinux Policy installed
Product: [Fedora] Fedora Reporter: Niki W. Waibel <niki.waibel>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:91756c07f0b6a4cc05529c8745958960215cd499
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-05 03:03:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

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.