Bug 1056154
Summary: | firewall-config creates unloadable config; port forwarding broken | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | todd_lewis | ||||
Component: | firewalld | Assignee: | Thomas Woerner <twoerner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 20 | CC: | abo, darrell, jpopelka, pal666, twoerner | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | firewalld-0.3.9.3-1.fc20 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1057628 (view as bug list) | Environment: | |||||
Last Closed: | 2014-02-11 23:03:05 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1057628 | ||||||
Attachments: |
|
Backtrace: File "/home/jpopelka/git/firewalld/src/firewall/server/decorators.py", line 53, in dbus_handle_exceptions return func(*args, **kwargs) File "/home/jpopelka/git/firewalld/src/firewall/server/firewalld.py", line 771, in addInterface _zone = self.fw.zone.add_interface(zone, interface, sender) File "/home/jpopelka/git/firewalld/src/firewall/core/fw_zone.py", line 471, in add_interface self.apply_zone_settings(zone) File "/home/jpopelka/git/firewalld/src/firewall/core/fw_zone.py", line 360, in apply_zone_settings self.__zone_settings(True, zone) File "/home/jpopelka/git/firewalld/src/firewall/core/fw_zone.py", line 337, in __zone_settings self.__forward_port(enable, zone, *args) File "/home/jpopelka/git/firewalld/src/firewall/core/fw_zone.py", line 1325, in __forward_port mark_str = "0x%x" % mark_id TypeError: %x format: a number is required, not NoneType Fixed in upstream GIT: https://git.fedorahosted.org/cgit/firewalld.git/commit/?id=c01ec3dba00cb6f780f240a5afba4b9a61798317 *** Bug 1055076 has been marked as a duplicate of this bug. *** firewalld-0.3.9.3-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/firewalld-0.3.9.3-1.fc20 Package firewalld-0.3.9.3-1.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing firewalld-0.3.9.3-1.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-2100/firewalld-0.3.9.3-1.fc20 then log in and leave karma (feedback). *** Bug 1053878 has been marked as a duplicate of this bug. *** Confirmed initial bug exactly as reported and confirmed fix listed in Comment 5. firewalld-0.3.9.3-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 853318 [details] /etc/firewalld tree from firewall-config, unloadable by firewalld-cmd Description of problem: After setting basic port forwarding, firewalld-cmd dies with a python exception. Version-Release number of selected component (if applicable): firewall-config-0.3.9.2-1.fc20.noarch firewalld-0.3.9.2-1.fc20.noarch How reproducible: always Steps to Reproduce: 1. yum erase firewalld ; rm -rf /etc/firewalld 2. yum install firewalld ; systemctl start firewalld 3. run firewall-config to set port forwarding 3. (fail to) run firewall-cmd --complete-reload Actual results: (in red:) Error: %x format: a number is required, not NoneType Expected results: Firewall loaded with port forwarding Additional info: attachment contains a tarball of the unloadable /etc/firewalld tree.