From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [IPv6:2a0f:8001:1:32::40]) by lore.proxmox.com (Postfix) with ESMTPS id 064E01FF0E1 for ; Tue, 27 Oct 2026 10:30:59 +0100 (CET) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 88AC721677; Tue, 27 Oct 2026 10:30:56 +0100 (CET) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792958772; x=1793563572; h=content-type:to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=RTwre2liV0UF2r6IyAPxn4e2LXzNTg2ccJLn2VJurCE=; b=zqefOLD49gr1Za/D9OKx/e9GbSlfE79p8GO72jFHGta3AZcD1w2dPFVmq11WnzgdRm 3v8oVHBwoQwq+Yr2iPlFiUKELdo3Fj51dfyweMs34rtfGiPTKHnq9HyhSeBC6cJ/k1Rf JMJ9aN2ZqLCbNL9HtTmsGy3Xa3OhCjw7zNp7PiIYFzZLVhciLE6eg/H2tEts2xfCeyXO L47CnX6GV3Haxx5y36D/tcFaSsDE87cB0d/OM6JaI5nWEM6lreXjFBEeBov6wL8ty0Tj Mf0I8FZtagztl+ri4bFUOK8gYUp16DJGj21osv1pZ3iDOEvDcFoDQ1I9VRaTEfriOhpT RrAA== X-Gm-Message-State: AFq9FYLY4ACOT43fyytTQ/JqDzAHmWUGHk/jeCKWusdJ5hPwguB+jXT0 sAK7eGvbZFDcHxAkU2SzuYjQ+VAGIQEo/R1gw7tYJcs7pdMJXMiYKYnbLCeGO5Lo X-Gm-Gg: AYBFou2eyx7IVkrhwsGLNQydFnYJ1lKOT7/RLMddzVTKOtCCpDPta7Yg7/AU6x5xtqP WqJ7oTpWvnuZmJ1J9VkRUfEN+g5VQ6PFBIS8elB98gBdl+N984UeqnnRB7zpRshZDMHOhywqtQ6 43Uup18sAfToICvLMCQx/56gIA+m3pAgC2yyZzaMg1GIuEr8x02vvpjE0N36bydtKd8Utz6T/bX CyNP29qEetDxQRaq9RrD6EbQlY+KCwzDuv3ELTNqqIU5MN15UrxzFq9tE/aKoAvqxYgFxhoDIwf SU1PvoHze+7lbCvSGLjfm4Ub4Y71dHq7IJfSRbAAK4pDoGpfUiT32UMDiDJelbYLX5g4Hj8muJX j9rlyM9wgvLkvzL+ctZPCVNF2evcA+LWSv/AI3K83ut3YOeZwV5+BfX0WF4LXyGbbDP1SUD8nLA LXaaSvdF5pcJZ+iupqyKUNJdV3cLUJNLr7eLAlJIQtP5FPwH2RON2427kOz6Tk3WxBhVQIUv7Eq S9/Vfen6YZ6hlDkFV/9jMTJY6V0nKKDcNBiHRkhkczpO2ZReDGjDXFZ0FU4IivOo0JzG9buVLry YFHQN9a0mS1L X-Received: by 2002:a05:6808:13c4:b0:4f4:8bec:ace3 with SMTP id 5614622812f47-55c003741cfmr3350983b6e.57.1792958272040; Sun, 25 Oct 2026 12:57:52 -0700 (PDT) X-Received: by 2002:a05:6808:bc8:b0:4d6:90f3:74a1 with SMTP id 5614622812f47-55c002ff9a5mr2747162b6e.44.1792958271406; Sun, 25 Oct 2026 12:57:51 -0700 (PDT) MIME-Version: 1.0 From: i@leaskh.com Date: Sun, 25 Oct 2026 14:57:50 -0500 X-Gmail-Original-Message-ID: X-Gm-Features: AclHuK9Hw71uAqgmeEsIublh2BYNnPMDx2mNpp3yi2car7CjshDAkjNLfPehdko Message-ID: Subject: [PATCH proxmox,widget-toolkit 0/2] fix #8227: support encapsulated bond hash policies To: pbs-devel@lists.proxmox.com Content-Type: text/plain; charset="UTF-8" X-SPAM-LEVEL: Spam detection results: 0 AWL -0.001 Adjusted score from AWL reputation of From: address DMARC_NONE 0.1 DMARC none policy FREEMAIL_FORGED_FROMDOMAIN 0.001 2nd level domains in From and EnvelopeFrom freemail headers are different FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider HEADER_FROM_DIFFERENT_DOMAINS 0.25 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_NONE 0.25 DKIM has Failed or SPF has failed on the message and the domain has a DMARC none policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H3 0.001 Good reputation (+3) RCVD_IN_MSPIKE_WL 0.001 Mailspike good senders SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record X-MailFrom: leaskh@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation Message-ID-Hash: D5Z426KG3CQC2RLFWZ6O4G6CVIP6RMJO X-Message-ID-Hash: D5Z426KG3CQC2RLFWZ6O4G6CVIP6RMJO X-Mailman-Approved-At: Tue, 27 Oct 2026 10:30:47 +0100 X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox Backup Server development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi, This series fixes PBS bug #8227: https://bugzilla.proxmox.com/show_bug.cgi?id=8227 An operational Linux 802.3ad bond using encap3+4 makes PBS reject /etc/network/interfaces and prevents the Network Interfaces list from loading. Linux and ifupdown2 support the policy; the shared Rust API's enum and the shared UI selector currently list only the three layer* policies. Patch 1/2 targets proxmox.git and adds encap2+3 and encap3+4 to the enum, generated schema and Display implementation. It includes validation and configuration round-trip regression tests. Existing values and invalid name validation are preserved. Patch 2/2 targets proxmox-widget-toolkit.git and exposes the two policies in the shared selector. It is the companion UI change to patch 1/2. Validation: - Native Linux x86_64: all 30 network API library tests pass with the impl feature. Against the old enum, the two new acceptance/round-trip tests fail with the expected policy rejection. - Round trips cover five policies, both 802.3ad/balance-xor modes and both keyword spellings, including an unrelated following bridge. - JavaScript syntax and selector-definition runtime checks pass. - Rust formatting, whitespace and patch application checks pass. The Linux build used a disposable workspace restricted to ten local crates, including the network API, omitting non-target dev resolution. The build setup did not alter library sources. Dependencies came from crates.io and OpenSSL headers were unpacked privately. This is not a full Debian package build or an end-to-end GUI test, and no running host's network configuration was changed. I emailed my Individual CLA privately to office@proxmox.com today, identifying Leask Wong as my Git author identity. CLA registration has not yet been verified. The existing Bugzilla attachments contain the same code changes: https://bugzilla.proxmox.com/attachment.cgi?id=2193 https://bugzilla.proxmox.com/attachment.cgi?id=2194 These mail patches additionally include the requested sign-off trailer. Please review, and let me know if any changes are needed. Thanks, Leask