Bug 161148

Summary: GUI does not start after new ports are added
Product: [Fedora] Fedora Reporter: Thureen Khan <thureen>
Component: system-config-securitylevelAssignee: Chris Lumens <clumens>
Status: CLOSED RAWHIDE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: 1.5.8.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-20 20:46:43 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:
Attachments:
Description Flags
The following configuration causes problems none

Description Thureen Khan 2005-06-20 20:32:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050524 Fedora/1.0.4-4 Firefox/1.0.4

Description of problem:
The problem is the secruity level Config gui, the one that is started by going to to Desktop->system settings->Secruity Level. After the program is started I add new ports it in the right syntax. Then I click OK and Yes to Save this new configuration. The GUI then exists. However, When I try to run it again it does not open. It just prompts for the root password and then doesn't do anything. In oder to get it turn i needed to edit "/etc/sysconfig/system-config-securitylevel" and remove the entries I made. 

To specify I tried adding the following "6881:tcp"

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


How reproducible:
Always

Steps to Reproduce:
1.Start the the secruity level Config GUI by going to to Desktop->system settings->Secruity Level
2.Enter any new port in the other port secton, or just try "1029:tcp" or "6881:tcp"
3.Click OK and Yes to override current firewall configuration
4.Try and start the secruity level Config GUI and it won't start up until the new entries is manually removed from "/etc/sysconfig/system-config-securitylevel" 
  

Actual Results:  The secruity level Config GUI and it won't start up until the new entries is manually removed from "/etc/sysconfig/system-config-securitylevel". Also the new firewall rule to open other ports does not work.

Expected Results:  The secruity level Config GUI should be able to start up again. Also the new rule added to the The secruity level Config GUI  should work and let traffic through the specificed other port.

Additional info:

Here is the error got when running the GUI.

$ 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 453, in stand_alone
    self.readFile()
  File "/usr/share/system-config-securitylevel/securitylevel.py", line 353, in readFile
    protoname = socket.getservbyport(int(service), protocol)
socket.error: port/proto not found

Comment 1 Thureen Khan 2005-06-20 20:41:20 UTC
Created attachment 115716 [details]
The following configuration causes problems

Comment 2 Chris Lumens 2005-06-20 20:46:43 UTC
Fixed in FC4 update FEDORA-2005-421.