From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 78B471FF15E for ; Mon, 1 Sep 2025 18:30:11 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D565C32E6B; Mon, 1 Sep 2025 18:30:24 +0200 (CEST) To: pve-devel@lists.proxmox.com Date: Mon, 1 Sep 2025 18:20:33 +0200 In-Reply-To: <20250901162036.2651-1-09couplet.bitmap@icloud.com> References: <20250901162036.2651-1-09couplet.bitmap@icloud.com> 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] SPAM: [PATCH container v2 1/4] setup: add underscore in regex to parse systemd version Content-Type: multipart/mixed; boundary="===============3908459199146572350==" Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" --===============3908459199146572350== 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 130E0D1DE6 for ; Mon, 1 Sep 2025 18:30:24 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id F0496329E4 for ; Mon, 1 Sep 2025 18:30:23 +0200 (CEST) Received: from 8.mo560.mail-out.ovh.net (8.mo560.mail-out.ovh.net [188.165.52.147]) (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:23 +0200 (CEST) Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.254.66]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4cFvJr1R57zBKGN for ; Mon, 1 Sep 2025 16:21:48 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-gqwhg (unknown [10.108.54.199]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id AE2A6C2A6D; Mon, 1 Sep 2025 16:21:47 +0000 (UTC) Received: from cours.cloud ([37.59.142.111]) by ghost-submission-5b5ff79f4f-gqwhg with ESMTPSA id mNA4FwHItWi54wAAq4irsw:T2 (envelope-from <09couplet.bitmap@icloud.com>); Mon, 01 Sep 2025 16:21:47 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-111S005f6f3b73d-ba0f-4371-8ed5-b46b1814c162, 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: SPAM: [PATCH container v2 1/4] setup: add underscore in regex to parse systemd version Date: Mon, 1 Sep 2025 18:20:33 +0200 Message-ID: <20250901162036.2651-2-09couplet.bitmap@icloud.com> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250901162036.2651-1-09couplet.bitmap@icloud.com> References: <20250901162036.2651-1-09couplet.bitmap@icloud.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 14419118632558098552 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdduledvieduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefiuhhilhhlrghumhgvuceotdeltghouhhplhgvthdrsghithhmrghpsehitghlohhuugdrtghomheqnecuggftrfgrthhtvghrnhepuefftdduudetteefleeujeetleekgfetieduhfegudehhfehueeikedugfegveeknecukfhppeduvdejrddtrddtrddupdeltddrhedtrddutddrudefpdefjedrheelrddugedvrdduuddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpedtlegtohhuphhlvghtrdgsihhtmhgrphesihgtlhhouhgurdgtohhmpdhnsggprhgtphhtthhopedupdhrtghpthhtohepphhvvgdquggvvhgvlheslhhishhtshdrphhrohigmhhogidrtghomhdpoffvtefjohhsthepmhhoheeitdgmpdhmohguvgepshhmthhpohhuth X-SPAM-LEVEL: Spam detection results: 3 AWL -0.060 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 POISEN_SPAM_PILL 0.1 Meta: its spam POISEN_SPAM_PILL_1 0.1 random spam to be learned in bayes POISEN_SPAM_PILL_3 0.1 random spam to be learned in bayes RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust RCVD_IN_MSPIKE_H3 -0.01 Good reputation (+3) 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) Example on AlmaLinux 10: /usr/lib64/systemd/libsystemd-shared-257-9.el10_0.1.alma.1.so Signed-off-by: Guillaume <09couplet.bitmap@icloud.com> --- src/PVE/LXC/Setup/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/LXC/Setup/Base.pm b/src/PVE/LXC/Setup/Base.pm index dbfc775..806265b 100644 --- a/src/PVE/LXC/Setup/Base.pm +++ b/src/PVE/LXC/Setup/Base.pm @@ -602,7 +602,7 @@ sub get_systemd_version { ['objdump', '-p', $self->{rootdir} . $init], outfunc => sub { my $line = shift; - if ($line =~ /libsystemd-shared-(\d+)(?:[-.][a-zA-Z0-9]+)*\.so:?$/) { + if ($line =~ /libsystemd-shared-(\d+)(?:[-_.][a-zA-Z0-9]+)*\.so:?$/) { $version = $1; } }, -- 2.47.2 --===============3908459199146572350== 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 --===============3908459199146572350==--