Bug 426817
| Summary: | system-config-firewall-tui deletes custom rules | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Konstantin Svist <fry.kun> |
| Component: | system-config-firewall | Assignee: | Thomas Woerner <twoerner> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | charles |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | 1.0.12-4.fc8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-02-13 04:57:49 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: | |||
It sould be better to modify line 37 and 39 by converting the "%s/%s" in these line into "%s:%s" It seems that many lines in the code use ":" instead of "/" and the french and english prompt are using ":" system-config-firewall-1.0.12-4.fc8 has been submitted as an update for Fedora 8 system-config-firewall-1.0.12-4.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-firewall'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-1200 system-config-firewall-1.0.12-4.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When using system-config-firewall-tui, if any custom rules are entered, it's unable to parse them. Consequently, both new and already-defined custom rules are lost. Version-Release number of selected component (if applicable): latest from yum How reproducible: always Steps to Reproduce: 1. Start system-config-securitylevel-tui in a console window 2. Enter Customize screen 3. Add custom ports (bottom left text box). Format is specified as port:protocol, e.g. 12345:tcp - but if any existing ports are defined they're displayed as port/protocol, instead. With the included fix, both formats are acceptable for adding new ports. Proposed fix: The problem can be fixed by altering the parsing routine in /usr/share/system-config-firewall/fw_tui.py on line 216 from val = entry.strip().split(":") to val = entry.strip().split("/")