Bug 1674076
Summary: | firewall-cmd --reload breaks connectivity | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Hill <dhill> |
Component: | firewalld | Assignee: | Eric Garver <egarver> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | egarver, jpopelka, twoerner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-02-09 21:31:12 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: | |||
Attachments: |
Description
David Hill
2019-02-09 00:09:20 UTC
Created attachment 1528251 [details]
firewalld logs
Created attachment 1528252 [details]
firewalld configuration files
Created attachment 1528253 [details]
script used to configure the local firewall.
When I reload, one of the first thing we notice is that the following: [root@zappa log]# iptables -nL | grep policy Chain INPUT (policy ACCEPT) Chain FORWARD (policy ACCEPT) Chain OUTPUT (policy ACCEPT) becomes: [root@zappa log]# iptables -nL | grep policy Chain INPUT (policy DROP) Chain FORWARD (policy DROP) Chain OUTPUT (policy DROP) and running "systemctl restart firewalld" restores all the rules and policy. Created attachment 1528254 [details]
firewalld in debug while reproducing the issue
This is when I restarted firewalld in debug: 2019-02-08 19:57:31 DEBUG1: start() and this is probably when the issue starts: 2019-02-08 19:58:29 DEBUG1: reload() 2019-02-08 19:58:29 DEBUG1: Setting policy to 'DROP' Created attachment 1528256 [details]
dnf.rpm.log ... the issue started today after updating packages I guess.
One last comment for today and is ... you can forget my initial comment about nft as I just noticed the firewalld logs were never rotated and this issue happend when we migrated to nft which I reverted by changing back the backend to iptables. (In reply to David Hill from comment #5) > Created attachment 1528254 [details] > firewalld in debug while reproducing the issue From the logs: firewall.errors.FirewallError: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed: Bad table name 'nat'. So marking it a duplicate of bug 1672683. *** This bug has been marked as a duplicate of bug 1672683 *** |