system-config-securitylevel broken [FC3]

P Jones mail4xxxx at imap.cc
Wed Nov 24 13:08:38 UTC 2004


On Wed, 2004-11-24 at 06:26 -0500, Brendan McEnaney wrote:
> Hello all,
> 
> Somehow I seem to have broken system-config-securitylevel. Clicking
> through the menu to 'System Settings/Security Level' does nothing.
> Running 'system-config-securitylevel' from the console produces this:
> 
> ------------------------------------------------------------------
> [root at beefy mcenaney]# system-config-securitylevel
> Traceback (most recent call last):
>   File "/usr/share/system-config-securitylevel/system-config-
> securitylevel.py", line 18, in ?
>     app.stand_alone()
>   File "/usr/share/system-config-securitylevel/securitylevel.py", line
> 427, in stand_alone
>     self.selinuxPage = selinuxPage.selinuxPage()
>   File "/usr/share/system-config-securitylevel/selinuxPage.py", line
> 329, in __init__
>     self.refreshTunables(self.initialtype)
>   File "/usr/share/system-config-securitylevel/selinuxPage.py", line
> 427, in refreshTunables
>     self.loadBooleans()
>   File "/usr/share/system-config-securitylevel/selinuxPage.py", line
> 418, in loadBooleans
>     on=rec[3]=="1"
> IndexError: list index out of range
> --------------------------------------------------------------------
> 
> Not sure what I've done to create this situation. Suggestions on how to
> fix it would be much appreciated.
> 
> -- 
> Brendan McEnaney
> www.speakeasy.net/~mcenaney
> 

Brendan;

This problem is in buzilla, here:
https://bugzilla.redhat.com/beta/show_bug.cgi?id=139202 

You can fix the problem yourself by changing line 418 in
/usr/share/system-config-securitylevel/selinuxPage.py from this:
on=rec[3]=="1"
to this:
on=rec[2]=="active"

-P




More information about the fedora-list mailing list