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 817C81FF15E for ; Mon, 1 Sep 2025 18:30:18 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id DDD9332ABF; Mon, 1 Sep 2025 18:30:31 +0200 (CEST) To: pve-devel@lists.proxmox.com Date: Mon, 1 Sep 2025 18:20:32 +0200 MIME-Version: 1.0 Message-ID: List-Id: Proxmox VE development discussion List-Post: From: Guillaume via pve-devel Precedence: list Cc: Guillaume <09couplet.bitmap@icloud.com> X-Mailman-Version: 2.1.29 X-BeenThere: pve-devel@lists.proxmox.com List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Proxmox VE development discussion List-Help: Subject: [pve-devel] [PATCH container v2 0/4] fix #6719: add support for centos 10 Content-Type: multipart/mixed; boundary="===============8181108528391146690==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============8181108528391146690== Content-Type: message/rfc822 Content-Disposition: inline Return-Path: <09couplet.bitmap@icloud.com> X-Original-To: pve-devel@lists.proxmox.com Delivered-To: pve-devel@lists.proxmox.com Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B0E9FD1DF7 for ; Mon, 1 Sep 2025 18:30:30 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9A9A732A94 for ; Mon, 1 Sep 2025 18:30:30 +0200 (CEST) Received: from 19.mo581.mail-out.ovh.net (19.mo581.mail-out.ovh.net [178.33.251.118]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 1 Sep 2025 18:30:29 +0200 (CEST) Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.231.19]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4cFvJL1tTnz6MW1 for ; Mon, 1 Sep 2025 16:21:22 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-gqwhg (unknown [10.108.54.199]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D5A55C29BE; Mon, 1 Sep 2025 16:21:21 +0000 (UTC) Received: from cours.cloud ([37.59.142.111]) by ghost-submission-5b5ff79f4f-gqwhg with ESMTPSA id mNA4FwHItWi54wAAq4irsw (envelope-from <09couplet.bitmap@icloud.com>); Mon, 01 Sep 2025 16:21:21 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-111S0059c14f562-23e9-48a3-9e78-7eabdfc840fe, 626740C7795EBEF0A24945DD74755F9321337A95) smtp.auth=guillaume@cours.cloud X-OVh-ClientIp: 90.50.10.13 From: Guillaume <09couplet.bitmap@icloud.com> To: pve-devel@lists.proxmox.com Cc: Guillaume <09couplet.bitmap@icloud.com> Subject: [PATCH container v2 0/4] fix #6719: add support for centos 10 Date: Mon, 1 Sep 2025 18:20:32 +0200 Message-ID: <20250901162036.2651-1-09couplet.bitmap@icloud.com> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 14412081761077590136 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduledviedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefiuhhilhhlrghumhgvuceotdeltghouhhplhgvthdrsghithhmrghpsehitghlohhuugdrtghomheqnecuggftrfgrthhtvghrnhepgefhvdetueejkeeivedvheffheeifeegvdelkeefieejfeevjedukedthfevleeunecukfhppeduvdejrddtrddtrddupdeltddrhedtrddutddrudefpdefjedrheelrddugedvrdduuddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpedtlegtohhuphhlvghtrdgsihhtmhgrphesihgtlhhouhgurdgtohhmpdhnsggprhgtphhtthhopedupdhrtghpthhtohepphhvvgdquggvvhgvlheslhhishhtshdrphhrohigmhhogidrtghomhdpoffvtefjohhsthepmhhoheekudgmpdhmohguvgepshhmthhpohhuth X-SPAM-LEVEL: Spam detection results: 2 AWL 0.340 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_QUAR 0.1 DMARC quarantine policy FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider KAM_DMARC_QUARANTINE 4 DKIM has Failed or SPF has failed on the message and the domain has a DMARC quarantine policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_NUMSUBJECT 0.5 Subject ends in numbers excluding current years RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H5 -1 Excellent reputation (+5) RCVD_IN_MSPIKE_WL -0.01 Mailspike good senders SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_SOFTFAIL 0.665 SPF: sender does not match SPF record (softfail) SPOOFED_FREEMAIL 0.001 - In order to use CentOS 10, NetworkManager support had to be added in place of the network scripts that were removed in this major release. AlmaLinux, for example, chose to name its libsystemd-shared file with the major and minor versions separated by an underscore, which was not taken into account when determining the version of systemd. Guillaume (4): setup: add underscore in regex to parse systemd version setup: add support of el10 and implementing NetworkManager instead fo network-scripts tests: add tests for centos 10 setup: disabled ipv4 or ipv6 if not used in NetworkManager files src/PVE/LXC/Setup/Base.pm | 2 +- src/PVE/LXC/Setup/CentOS.pm | 112 ++++++++++++++++-- src/test/run_setup_tests.pl | 4 + src/test/test-centos10-001/config | 4 + .../system-connections/eth0.nmconnection.exp | 11 ++ src/test/test-centos10-001/etc/hostname.exp | 1 + src/test/test-centos10-001/etc/hosts.exp | 5 + .../test-centos10-001/etc/locale.conf.exp | 1 + .../test-centos10-001/etc/rc.d/rc.sysinit | 6 + .../test-centos10-001/etc/rc.d/rc.sysinit.exp | 6 + src/test/test-centos10-001/etc/redhat-release | 2 + src/test/test-centos10-001/etc/securetty | 23 ++++ src/test/test-centos10-001/etc/securetty.exp | 28 +++++ .../systemd/system-preset/00-pve.preset.exp | 5 + .../root/.ssh/authorized_keys.exp | 3 + src/test/test-centos10-002/config | 6 + .../system-connections/eth0.nmconnection.exp | 14 +++ .../system-connections/eth1.nmconnection.exp | 11 ++ .../system-connections/eth2.nmconnection.exp | 12 ++ src/test/test-centos10-002/etc/hostname.exp | 1 + src/test/test-centos10-002/etc/hosts.exp | 5 + .../test-centos10-002/etc/locale.conf.exp | 1 + .../test-centos10-002/etc/rc.d/rc.sysinit | 6 + .../test-centos10-002/etc/rc.d/rc.sysinit.exp | 6 + src/test/test-centos10-002/etc/redhat-release | 2 + src/test/test-centos10-002/etc/securetty | 23 ++++ src/test/test-centos10-002/etc/securetty.exp | 28 +++++ .../systemd/system-preset/00-pve.preset.exp | 5 + .../root/.ssh/authorized_keys.exp | 3 + 29 files changed, 328 insertions(+), 8 deletions(-) create mode 100644 src/test/test-centos10-001/config create mode 100644 src/test/test-centos10-001/etc/NetworkManager/system-connections/eth0.nmconnection.exp create mode 100644 src/test/test-centos10-001/etc/hostname.exp create mode 100644 src/test/test-centos10-001/etc/hosts.exp create mode 100644 src/test/test-centos10-001/etc/locale.conf.exp create mode 100644 src/test/test-centos10-001/etc/rc.d/rc.sysinit create mode 100644 src/test/test-centos10-001/etc/rc.d/rc.sysinit.exp create mode 100644 src/test/test-centos10-001/etc/redhat-release create mode 100644 src/test/test-centos10-001/etc/securetty create mode 100644 src/test/test-centos10-001/etc/securetty.exp create mode 100644 src/test/test-centos10-001/etc/systemd/system-preset/00-pve.preset.exp create mode 100644 src/test/test-centos10-001/root/.ssh/authorized_keys.exp create mode 100644 src/test/test-centos10-002/config create mode 100644 src/test/test-centos10-002/etc/NetworkManager/system-connections/eth0.nmconnection.exp create mode 100644 src/test/test-centos10-002/etc/NetworkManager/system-connections/eth1.nmconnection.exp create mode 100644 src/test/test-centos10-002/etc/NetworkManager/system-connections/eth2.nmconnection.exp create mode 100644 src/test/test-centos10-002/etc/hostname.exp create mode 100644 src/test/test-centos10-002/etc/hosts.exp create mode 100644 src/test/test-centos10-002/etc/locale.conf.exp create mode 100644 src/test/test-centos10-002/etc/rc.d/rc.sysinit create mode 100644 src/test/test-centos10-002/etc/rc.d/rc.sysinit.exp create mode 100644 src/test/test-centos10-002/etc/redhat-release create mode 100644 src/test/test-centos10-002/etc/securetty create mode 100644 src/test/test-centos10-002/etc/securetty.exp create mode 100644 src/test/test-centos10-002/etc/systemd/system-preset/00-pve.preset.exp create mode 100644 src/test/test-centos10-002/root/.ssh/authorized_keys.exp -- 2.47.2 --===============8181108528391146690== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel --===============8181108528391146690==--