Bug 911364 - [abrt] policycoreutils-python-2.1.13-55.fc18: __init__.py:65:<module>:ValueError: Failed to read /sys/fs/selinux/policy policy file
Summary: [abrt] policycoreutils-python-2.1.13-55.fc18: __init__.py:65:<module>:ValueEr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 18
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:79c3b497b0819400098d3c5a758...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-14 20:38 UTC by dobs
Modified: 2013-07-11 19:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-11 19:50:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (7.06 KB, text/plain)
2013-02-14 20:38 UTC, dobs
no flags Details
File: core_backtrace (293 bytes, text/plain)
2013-02-14 20:38 UTC, dobs
no flags Details
File: environ (3.08 KB, text/plain)
2013-02-14 20:38 UTC, dobs
no flags Details
File: smolt_data (2.88 KB, text/plain)
2013-02-14 20:38 UTC, dobs
no flags Details

Description dobs 2013-02-14 20:38:44 UTC
Version-Release number of selected component:
policycoreutils-python-2.1.13-55.fc18

Additional info:
cmdline:        /usr/bin/python -Es /usr/sbin/semanage fcontext -a -t home_cert_t ca.crt
executable:     /usr/sbin/semanage
kernel:         3.3.4-5.fc17.x86_64
uid:            0

Comment 1 dobs 2013-02-14 20:38:47 UTC
Created attachment 697378 [details]
File: backtrace

Comment 2 dobs 2013-02-14 20:38:49 UTC
Created attachment 697379 [details]
File: core_backtrace

Comment 3 dobs 2013-02-14 20:38:51 UTC
Created attachment 697380 [details]
File: environ

Comment 4 dobs 2013-02-14 20:38:53 UTC
Created attachment 697381 [details]
File: smolt_data

Comment 5 Daniel Walsh 2013-02-18 17:02:58 UTC
Does  /sys/fs/selinux/current exist?

Comment 6 Kiril Nesenko 2013-03-12 14:11:36 UTC
I Have the same issue on Fedora18:

sudo ls -ld /sys/fs/selinux/current
ls: cannot access /sys/fs/selinux/current: No such file or directory

sudo semanage port -l
ERROR: policydb magic number 0x000008 does not match expected magic number 0xf97cff8c or 0xf97cff8d
ERROR: Unable to open policy /sys/fs/selinux/policy.
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 65, in <module>
    raise e
ValueError: Failed to read /sys/fs/selinux/policy policy file

Comment 7 Daniel Walsh 2013-03-15 18:32:29 UTC
SELinux disabled?

DOes this work with 
policycoreutils-2.1.13-57.fc18

in updates-testing?

Comment 8 Kiril Nesenko 2013-03-17 09:15:05 UTC
(In reply to comment #7)
> SELinux disabled?
> 
> DOes this work with 
> policycoreutils-2.1.13-57.fc18

From where can I get this version ? Its not in F18 repo.
> 
> in updates-testing?

Comment 9 Kiril Nesenko 2013-03-17 09:16:05 UTC
Selinux is in enforcing status

Comment 10 Daniel Walsh 2013-03-20 01:20:48 UTC
https://admin.fedoraproject.org/updates/FEDORA-2013-3271/policycoreutils-2.1.13-56.fc18?_csrf_token=8c9e44f7f7aebb6afd61bb36970b12b83aa40572

It should be being pushed to release

yum -y update policycoreutils --enablerepo=updates-testing


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