Red Hat Bugzilla – Bug 161148
GUI does not start after new ports are added
Last modified: 2007-11-30 17:11:08 EST
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):
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.
Here is the error got when running the GUI.
Traceback (most recent call last):
File "/usr/share/system-config-securitylevel/system-config-securitylevel.py", line 18, in ?
File "/usr/share/system-config-securitylevel/securitylevel.py", line 453, in stand_alone
File "/usr/share/system-config-securitylevel/securitylevel.py", line 353, in readFile
protoname = socket.getservbyport(int(service), protocol)
socket.error: port/proto not found
Created attachment 115716 [details]
The following configuration causes problems
Fixed in FC4 update FEDORA-2005-421.