<html>
    <head>
      <base href="https://bugzilla.netfilter.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Error: COMMAND_FAILED: 'python-nftables' failed"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1777">1777</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error: COMMAND_FAILED: 'python-nftables' failed
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>nftables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.0.x
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>arm
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Debian GNU/Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>kernel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pablo@netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>fs3000@proton.me
          </td>
        </tr></table>
      <p>
        <div>
        <pre>(apologies if picking the wrong component)

This happens on a Debian 12 system with custom kernel. On a arm64 router.

On a fresh install, simply doing "firewall-cmd --add-interface=eth1
--zone=internal" causes a nftables error. The strange part, is that this only
happens on firewalld's zones "internal" and "home". Actually i have tried other
zones, but then, NAT does not work properly, even tough i have set the right
rules and policies in firewalld.

#########################################

root@banana1 /root $ firewall-cmd --add-interface=eth1 --zone=internal
Error: COMMAND_FAILED: 'python-nftables' failed: internal:0:0-0: Error: No such
file or directory; did you mean chain ‘filter_IN_external’ in table inet
‘firewalld’?

internal:0:0-0: Error: No such file or directory; did you mean chain
‘filter_FWD_external_allow’ in table inet ‘firewalld’?


JSON blob:
{"nftables": [{"metainfo": {"json_schema_version": 1}}, {"add": {"rule":
{"family": "inet", "table": "firewalld", "chain": "filter_IN_internal",
"index": 6, "expr": [{"match": {"left": {"meta": {"key": "l4proto"}}, "op":
"==", "right": {"set": ["icmp", "icmpv6"]}}}, {"accept": null}]}}}, {"insert":
{"rule": {"family": "inet", "table": "firewalld", "chain":
"filter_INPUT_ZONES", "expr": [{"match": {"left": {"meta": {"key": "iifname"}},
"op": "==", "right": "eth1"}}, {"goto": {"target": "filter_IN_internal"}}]}}},
{"insert": {"rule": {"family": "inet", "table": "firewalld", "chain":
"nat_POSTROUTING_ZONES", "expr": [{"match": {"left": {"meta": {"key":
"oifname"}}, "op": "==", "right": "eth1"}}, {"goto": {"target":
"nat_POST_internal"}}]}}}, {"insert": {"rule": {"family": "inet", "table":
"firewalld", "chain": "filter_FORWARD_ZONES", "expr": [{"match": {"left":
{"meta": {"key": "iifname"}}, "op": "==", "right": "eth1"}}, {"goto":
{"target": "filter_FWD_internal"}}]}}}, {"insert": {"rule": {"family": "inet",
"table": "firewalld", "chain": "nat_PREROUTING_ZONES", "expr": [{"match":
{"left": {"meta": {"key": "iifname"}}, "op": "==", "right": "eth1"}}, {"goto":
{"target": "nat_PRE_internal"}}]}}}, {"insert": {"rule": {"family": "inet",
"table": "firewalld", "chain": "mangle_PREROUTING_ZONES", "expr": [{"match":
{"left": {"meta": {"key": "iifname"}}, "op": "==", "right": "eth1"}}, {"goto":
{"target": "mangle_PRE_internal"}}]}}}, {"add": {"rule": {"family": "inet",
"table": "firewalld", "chain": "filter_FWD_internal_allow", "expr": [{"match":
{"left": {"meta": {"key": "oifname"}}, "op": "==", "right": "eth1"}},
{"accept": null}]}}}]}

#############################################

firewalld                     1.3.3-1~deb12u1
libnftables1:arm64            1.0.6-2+deb12u2
libnftnl11:arm64              1.2.4-2
python3-firewall              1.3.3-1~deb12u1
python3-nftables              1.0.6-2+deb12u2

Custom 6.12.0-rc1 kernel.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>