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