Bug 187701

Summary: can't modify security level , list index out of range
Product: [Fedora] Fedora Reporter: Sergio Basto <sergio>
Component: system-config-securitylevelAssignee: Chris Lumens <clumens>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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: 2006-04-03 13:38:47 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 Sergio Basto 2006-04-02 23:48:36 UTC
Description of problem:
can't modify any option in system-config-securitylevel because when press ok
give me one python error : list index out of range

Version-Release number of selected component (if applicable):
system-config-securitylevel-1.6.16-1

How reproducible:
 upgrade from FC4 to FC5 in text mode 


Steps to Reproduce:
1.system-config-securitylevel
2.press ok 

Actual results:
Traceback (most recent call last):
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 240, in
okClicked
    rc = self.apply()
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 402, in apply
    self.selinuxPage.apply()
  File "/usr/share/system-config-securitylevel/selinuxPage.py", line 379, in apply
    type=self.getType()
  File "/usr/share/system-config-securitylevel/selinuxPage.py", line 371, in getType
    return self.types[self.selinuxTypeOptionMenu.get_active()]
IndexError: list index out of range


Expected results:
modify security level

Additional info:

Comment 1 Sergio Basto 2006-04-03 00:17:31 UTC
Install selinux-policy and selinux-policy-targeted is the solution.
Maybe system-config-securitylevel should depend on selinux-policy-targeted


Comment 2 Chris Lumens 2006-04-03 13:38:47 UTC

*** This bug has been marked as a duplicate of 186554 ***