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.
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.