From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 373B91FF140 for ; Fri, 10 Apr 2026 12:02:49 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 14C09199F0; Fri, 10 Apr 2026 12:03:33 +0200 (CEST) From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= To: pve-devel@lists.proxmox.com Subject: [RFC manager/proxmox{,-backup,-perl-rs} 0/6] adapt subscription handling to alternative server IDs Date: Fri, 10 Apr 2026 12:02:17 +0200 Message-ID: <20260410100326.3199377-1-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1775815337623 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.053 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: A3SCQJSJP3CGN4PBCXAFBDKCRTBPLQ4I X-Message-ID-Hash: A3SCQJSJP3CGN4PBCXAFBDKCRTBPLQ4I X-MailFrom: f.gruenbichler@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: instead of only supporting one variant of server IDs, get a list of possible candidates via the proxmox-subscription crate. if a subscription is already configured, the matching server ID will be reused to avoid reissuing. this is just smoke tested for PVE, and missing PDM/PMG/POM changes as well as end-to-end testing.. proxmox: Fabian Grünbichler (2): systemd: add support for machine-id generation proxmox-subscription: add new machine-id based serverid proxmox-subscription/Cargo.toml | 3 +- proxmox-subscription/debian/control | 2 + proxmox-subscription/src/lib.rs | 2 +- proxmox-subscription/src/subscription_info.rs | 105 ++++++++++++++++-- proxmox-systemd/src/lib.rs | 2 + proxmox-systemd/src/sd_id128.rs | 70 ++++++++++++ proxmox-systemd/src/sys.rs | 6 + 7 files changed, 176 insertions(+), 14 deletions(-) create mode 100644 proxmox-systemd/src/sd_id128.rs proxmox-backup: Fabian Grünbichler (1): subscription: adapt to multiple server ID variants src/api2/node/subscription.rs | 38 ++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 10 deletions(-) proxmox-perl-rs: Fabian Grünbichler (1): common: subscription: expose server ID candidates common/src/bindings/subscription.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) pve-manager: Fabian Grünbichler (2): subscription: adapt to multiple server ID variants api2tools: remove unused get_hwaddress PVE/API2/Subscription.pm | 26 ++++++++++++++++++++------ PVE/API2Tools.pm | 23 ----------------------- 2 files changed, 20 insertions(+), 29 deletions(-) Summary over all repositories: 11 files changed, 235 insertions(+), 53 deletions(-) -- Generated by murpp 0.11.0