Bug 248669

Summary: update breaks selinux
Product: [Fedora] Fedora Reporter: Ray Todd Stevens <raytodd>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-18 13:47:57 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:

Description Ray Todd Stevens 2007-07-18 03:39:39 UTC
Description of problem:

I get error

libsepol.policydb_read: policydb version 21 does not match my version range 15-20
audit2why:  invalid binary policy /etc/selinux/targeted/policy/policy.21


When attempting to run audit2why

I also get 

Traceback (most recent call last):
  File "/usr/bin/audit2allow", line 164, in ?
    serules.load(inputfd)
  File "/usr/lib/python2.4/site-packages/avc.py", line 358, in load
    self.translate(dict)
  File "/usr/lib/python2.4/site-packages/avc.py", line 396, in translate
    self.add_allow(AVC)
  File "/usr/lib/python2.4/site-packages/avc.py", line 441, in add_allow
    scontext = context(AVC["scontext"])
  File "/usr/lib/python2.4/site-packages/avc.py", line 53, in __init__
    self.role = con[1]
IndexError: list index out of range

When trying to run audit2allow

since I have run the latest updates.

Version-Release number of selected component (if applicable):


How reproducible:

100%

Steps to Reproduce:
1.   load core 5
2.   update system
3.   run programs
  
Actual results:


Expected results:


Additional info:

selinux-policy-targeted-2.3.7-2.fc5
selinux-policy-2.3.7-2.fc5
policycoreutils-1.30.10-2.fc5

Comment 1 Daniel Walsh 2007-07-18 13:47:57 UTC
FC5 is no longer supported.  Please update to FC6 or fc7