Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 135245 - OK button doesn't close GUI as it should
OK button doesn't close GUI as it should
Product: Fedora
Classification: Fedora
Component: system-config-securitylevel (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Depends On:
Blocks: FC3Target
  Show dependency treegraph
Reported: 2004-10-11 06:27 EDT by David Wood
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-29 08:29:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Wood 2004-10-11 06:27:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041008

Description of problem:
The OK button doesn't work.

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

How reproducible:

Steps to Reproduce:
1. Run system-config-securitylevel
2. Click OK

Actual Results:  GUI should close

Expected Results:  Here is the traceback when run from a terminal:

DeprecationWarning: use gtk.ComboBox
  self.securityOptionMenu = gtk.OptionMenu()
DeprecationWarning: use gtk.ComboBox
  self.selinuxTypeOptionMenu = gtk.OptionMenu()
Traceback (most recent call last):
  File "/usr/share/system-config-securitylevel/securitylevel.py", line
164, in okClicked
    rc = self.apply()
  File "/usr/share/system-config-securitylevel/securitylevel.py", line
170, in apply
  File "/usr/share/system-config-securitylevel/selinuxPage.py", line
545, in apply
  File "/usr/share/system-config-securitylevel/selinuxPage.py", line
533, in getType
    return self.types[self.selinuxTypeOptionMenu.get_history()]
IndexError: list index out of range

Additional info:
Comment 1 Paul Nasrat 2004-10-11 06:42:19 EDT
Is selinux enabled?  What are the contents of the selinux panel in the

Do you have any policy packages currently installed?  

rpm -q selinux-policy-targeted selinux-policy-strict
Comment 2 David Wood 2004-10-11 06:48:06 EDT
The selinux panel is greyed out (so I guess it's not enabled).

I haven't installed any policy packages.

$rpm -q selinux-policy-targeted selinux-policy-strict
package selinux-policy-targeted is not installed
package selinux-policy-strict is not installed
Comment 3 Paul Nasrat 2004-10-11 06:57:46 EDT
If you install selinux-policy-targeted does the stack trace go away?
Comment 4 David Wood 2004-10-11 07:24:49 EDT
Yes it does thanks.
Comment 5 Daniel Walsh 2004-10-12 14:16:17 EDT
Fixed in system-config-securitylevel-1_4_9-1

Will ignode selinux page if selinux not installed.

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