Firewalld fails to start with error message internal:0:0-0: Error: No such file or directory

Solution Verified - Updated -

Issue

  • firewalld fails to start. The file /var/log/firewalld shows the following error message:

    ERROR: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: No such file or directory
    
  • firewalld fails to start. The file /var/log/firewalld shows the following error message:

    ERROR: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: Set member cannot be prefix, missing interval flag on declaration
    
  • After adding permanent entries to a ipset via firewall-cmd, running firewall-cmd --reload or systemctl restart firewalld doesn't work anymore and firewall rules are not loaded.

Environment

Red Hat Enterprise Linux 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content