RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1066037 - firewall-config should allow unspecifying zone binding for interface
Summary: firewall-config should allow unspecifying zone binding for interface
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: firewalld
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Thomas Woerner
QA Contact: Tomas Dolezal
URL:
Whiteboard:
Depends On:
Blocks: 1113520 1133545 1295396 1296594 1313485
TreeView+ depends on / blocked
 
Reported: 2014-02-17 14:42 UTC by Tomas Dolezal
Modified: 2016-11-03 20:59 UTC (History)
6 users (show)

Fixed In Version: firewalld-0.4.2-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1133545 (view as bug list)
Environment:
Last Closed: 2016-11-03 20:59:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2597 0 normal SHIPPED_LIVE Moderate: firewalld security, bug fix, and enhancement update 2016-11-03 12:11:47 UTC

Description Tomas Dolezal 2014-02-17 14:42:00 UTC
Description of problem:
When user wants to use default zone for several connections to be able to change them at once, he is unable to do that after specifying a zone for any connection.
Proposed solution is to add some "<Default>" zone into zones list under "Select zone for connection".
This functionality should be available from both firewall-config and firewall-cmd (e.g. --unset-zone or whatever suitable)

Version-Release number of selected component (if applicable):
firewall-config-0.3.9-4.el7.noarch

How reproducible:
always

Steps to Reproduce:
This is available via Options/Change zone of connections (firewall-config-0.3.9-4.test0.el7.noarch) or under Interfaces tab where you select interface entry and click on Edit.

Actual results:
Unable to unspecify zone to which is interface bound

Expected results:
Have an entry for no zone to unspecify it

Additional info:
the test version has copied menu from firewall-applet in Options menu, link http://koji.fedoraproject.org/koji/buildinfo?buildID=498589

Comment 1 Tomas Dolezal 2014-02-17 14:46:47 UTC
please forget the link in additional, it is wrong

Comment 14 Tomas Dolezal 2016-04-26 13:40:20 UTC
the same action - zone unsetting on ifaces - should be also available from firewall-cmd CLI utility

Comment 16 Thomas Woerner 2016-05-02 07:59:29 UTC
Here is the fix for firewall-cmd:
https://github.com/t-woerner/firewalld/commit/e83ae424b271dec86cbb91b3ed33ec5bce88db05

Comment 18 Thomas Woerner 2016-05-30 14:39:24 UTC
There are additional commits for ifcfg file handling:

firewall/core/io/ifcfg: New ifcfg file parser
https://github.com/t-woerner/firewalld/commit/dc955c5253109bf3cae4f879c3ec69c565784fa8

New global SYSCONFIGDIR and IFCFGDIR setting, use SYSCONFIGDIR in off…
https://github.com/t-woerner/firewalld/commit/d5d428e44824d6183e6cac8c523be51e0cf82497

firewall.core.fw_ifcfg: New module to search for and change ifcfg files
https://github.com/t-woerner/firewalld/commit/2390d3fbbb784ac2a6216b62bb564015b7f1ea25

firewall.core.fw_zone: Use requested zone in add_interface call in ch…
https://github.com/t-woerner/firewalld/commit/03d767ce2ac7efe99fffc3a702c95542d8a7984b

firewall.core.fw_zone: Use ifcfg_set_zone_of_interface in add_interfa…
https://github.com/t-woerner/firewalld/commit/3496f26b49afbe9e62f6dbab43daff31dde10b75

firewall.core.fw_ifcfg: iFix ifcfg_set_zone_of_interface for missing … https://github.com/t-woerner/firewalld/commit/46ff47cee8f3ca08f6b90b8e75e6a37976cd54c4

Comment 24 errata-xmlrpc 2016-11-03 20:59:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-2597.html


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