Find the answer to your Linux question:
Results 1 to 2 of 2
Using FC9 patched as of today, I want to configure the firewall, but when I try to run the config, it errors out: #system-config-firewall Error: Traceback (most recent call last): ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2006
    Posts
    82

    system-config-firewall


    Using FC9 patched as of today, I want to configure the firewall, but when I try to run the config, it errors out:

    #system-config-firewall
    Error:
    Traceback (most recent call last):
    File "/usr/share/system-config-firewall/system-config-firewall.py", line 29, in <module>
    os.execv(argv[0], argv)
    OSError: [Errno 2] No such file or directory


    Looking at the py file, line 29 is in red below:
    except:
    import os
    argv = [ "/usr/sbin/system-config-firewall-tui" ]
    os.execv(argv[0], argv)


    When I try to navigate to this system-config-firewall-tui directory or file, it is not there. I have removed and reinstalled the system-config-firewall package and it still errors.

    Any ideas?

  2. #2
    Just Joined!
    Join Date
    Sep 2008
    Posts
    1
    Just hit the same thing.
    Looks like someone's moved "system-config-firewall-tui", but not updated system-config-firewall.

    Looking at the python source mentioned, gives:

    Code:
        argv = [ "/usr/sbin/system-config-firewall-tui" ]
        os.execv(argv[0], argv)
    But the system-config-firewall-tui RPM shows the following:

    Code:
      [root@localhost ~]# rpm -ql system-config-firewall-tui | grep system-config-firewall-tui
        /usr/bin/system-config-firewall-tui
    Note it's /usr/bin, and not /usr/sbin as in the script.

    About to go and see if anyone's raised a bug about it. Meanwhile, fixing the path in "/usr/share/system-config-firewall/system-config-firewall.py" should do the trick.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •