<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>60373</bug_id>
          
          <creation_ts>2026-09-02 19:54:04 +0300</creation_ts>
          <short_desc>pve-firewall: переехать с legacy ebtables на iptables-nft</short_desc>
          <delta_ts>2026-09-03 04:02:02 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>pve-firewall</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton Farygin">rider</reporter>
          <assigned_to name="Alexey Shabalin">shaba</assigned_to>
          <cc>andy</cc>
    
    <cc>darisishe</cc>
    
    <cc>shaba</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>294656</commentid>
    <comment_count>0</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-02 19:54:04 +0300</bug_when>
    <thetext>pve-firewall вызывает ebtables-restore / ebtables-save по имени. На ALT эти бинарники принадлежат пакету ebtables (legacy sockopt/xtables). Пакет iptables-nft (ebtables-nft, ebtables-nft-restore) в зависимостях нет, alternatives на ALT нет (update-alternatives → /bin/true, #57025).

Начиная с ядра 6.18 CONFIG_BRIDGE_NF_EBTABLES_LEGACY по умолчанию выключен, legacy-таблица filter в ядре отсутствует. Результат:

  ebtables_restore_cmdlist: The kernel doesn&apos;t support the ebtables &apos;filter&apos; table.

Обход на живых узлах: установить iptables-nft и вручную направить /usr/sbin/ebtables и ebtables-restore на *-nft (симлинки rpm затрёт при обновлении ebtables). Подтверждено на Branch p11, #60357.

Просьба:

1. Requires: iptables-nft
2. Вызывать ebtables-nft-restore / ebtables-nft-save (или собственные обёртки), а не голые ebtables-restore / ebtables-save.
3. Не полагаться на alternatives.

nft-бэкенд в ядре есть (NF_TABLES_BRIDGE). Legacy ebtables ядро уводит.

См. также #60357 (p11, симптом на 6.18).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>294805</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-09-03 04:02:02 +0300</bug_when>
    <thetext>pve-firewall-6.0.5-alt4 -&gt; sisyphus:

Thu Sep 03 2026 Sergey Konev &lt;darisishe@altlinux&gt; 6.0.5-alt4
- Use nftables-compatible ebtables tools (Closes: 60373)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>