Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2042477

Summary: Firewall failed to restart on Centos 8
Product: Red Hat Enterprise Linux 8 Reporter: ticino2013
Component: firewalldAssignee: Eric Garver <egarver>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0CC: todoleza
Target Milestone: rcFlags: egarver: needinfo?
pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-19 07:28:15 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:

Description ticino2013 2022-01-19 15:21:05 UTC
Hi, if I run the command: systemctl status firewalld

I get these errors:

gen 17 18:45:56 vpsalex firewalld[189]: ERROR: 'python-nftables' failed: intern>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>
gen 17 18:45:56 vpsalex firewalld[189]: ERROR: COMMAND_FAILED: 'python-nftables>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>
gen 17 18:47:08 vpsalex firewalld[189]: WARNING: AllowZoneDrifting is enabled. >
gen 17 18:47:19 vpsalex firewalld[189]: ERROR: 'python-nftables' failed: intern>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>
gen 17 18:47:25 vpsalex firewalld[189]: ERROR: 'python-nftables' failed: intern>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>
gen 17 18:47:25 vpsalex firewalld[189]: ERROR: COMMAND_FAILED: 'python-nftables>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>
gen 19 13:23:11 vpsalex firewalld[189]: WARNING: AllowZoneDrifting is enabled. >
gen 19 13:23:22 vpsalex firewalld[189]: ERROR: 'python-nftables' failed: intern>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>
gen 19 13:23:28 vpsalex firewalld[189]: ERROR: 'python-nftables' failed: intern>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>
gen 19 13:23:28 vpsalex firewalld[189]: ERROR: COMMAND_FAILED: 'python-nftables>


                                        JSON blob:
                                        {"nftables": [{"metainfo": {"json_schem>



How can I fix it?

Comment 1 Eric Garver 2022-01-19 15:58:44 UTC
Hi. The errors are truncated, but it looks like the rules fail to apply in the nftables backend. This often results from invalid configuration.

What firewalld version are you using? `dnf info firewalld`

To investigate further:

  1. set IndividiualCalls=yes it /etc/firewalld/firewalld.conf

  2. check for new errors in /var/log/firewalld
    # truncate -s0 /var/log/firewalld
    # systemctl restart firewalld
    # grep ERROR /var/log/firewalld

Comment 3 RHEL Program Management 2023-07-19 07:28:15 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.