Bug 915985 - '/sbin/iptables -N DROP -t filter' failed: iptables v1.4.16.2: chain name may not clash with target name
Summary: '/sbin/iptables -N DROP -t filter' failed: iptables v1.4.16.2: chain name may...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 18
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 951300 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-26 22:41 UTC by Cristian Ciupitu
Modified: 2013-04-12 22:25 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-12 22:25:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Cristian Ciupitu 2013-02-26 22:41:12 UTC
Description of problem:
firewalld fails to assign a custom zone to an interface.

Version-Release number of selected component (if applicable):
firewalld-0.2.12-2.fc18.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Create this openvpn zone (I created it from the GUI):
<?xml version="1.0" encoding="utf-8"?>
<zone target="DROP">
  <short>OpenVPN</short>
  <description>OpenVPN server</description>
  <icmp-block name="redirect"/>
  <icmp-block name="router-solicitation"/>
  <icmp-block name="parameter-problem"/>
  <icmp-block name="router-advertisement"/>
</zone>
2. Assign the zone to the tun-openvpn interface:
firewall-cmd --zone=openvpn --add-interface=tun-openvpn
  
Actual results:
Error: COMMAND_FAILED: '/sbin/iptables -N DROP -t filter' failed: iptables v1.4.16.2: chain name may not clash with target name

Try `iptables -h' or 'iptables --help' for more information.


Expected results:
No errors

Additional info:
firewall-config-0.2.12-2.fc18.noarch
iptables-1.4.16.2-5.fc18.i686
kernel-PAE-3.7.9-201.fc18.i686

Comment 1 Jiri Popelka 2013-02-27 17:10:12 UTC
Seems to be already fixed upstream with
http://git.fedorahosted.org/cgit/firewalld.git/commit/?id=be2be66d3d68ed1737fd43f9283cbbdf205d1f94

Comment 2 Fedora Update System 2013-04-03 10:45:39 UTC
firewalld-0.2.12-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/firewalld-0.2.12-5.fc18

Comment 3 Fedora Update System 2013-04-04 23:59:06 UTC
Package firewalld-0.2.12-5.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing firewalld-0.2.12-5.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-4826/firewalld-0.2.12-5.fc18
then log in and leave karma (feedback).

Comment 4 Jiri Popelka 2013-04-12 10:48:15 UTC
*** Bug 951300 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2013-04-12 22:25:31 UTC
firewalld-0.2.12-5.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.