Message ID | 20250908125938.3389609-1-adolf.belka@ipfire.org |
---|---|
State | New |
Headers |
Return-Path: <development+bounces-924-patchwork=ipfire.org@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4cL6VV2B5vz3wZx for <patchwork@web04.haj.ipfire.org>; Mon, 08 Sep 2025 12:59:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "E8" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4cL6VT62VRz3Mp for <patchwork@ipfire.org>; Mon, 08 Sep 2025 12:59:45 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=ipfire.org header.s=202003ed25519 header.b=d6IPgu3i; dkim=pass header.d=ipfire.org header.s=202003rsa header.b=HH3lfbKn; spf=softfail (mail01.ipfire.org: 2001:678:b28::201 is neither permitted nor denied by domain of "development+bounces-924-patchwork=ipfire.org@lists.ipfire.org") smtp.mailfrom="development+bounces-924-patchwork=ipfire.org@lists.ipfire.org"; dmarc=pass (policy=reject) header.from=ipfire.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757336385; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JlEhvUQx4cjzxPLpnrO703LMtGsdxtnkNdnR/GB4D60=; b=Wncsfds7SR8cmJKp3ZKJnWlW3cFdW6no+HR3RGR0QM2Nmwu/xQp7iYSb0518KB6PD7JN3I 38gZLCSwknPrHIMCi6LlE34hk1sBA/dQ8qZX1mq0jOuvXkHpTRn90Q85lpfulE2w/xw+o/ WQMUXvgb6J9PAiXV+FUU1nyLgfnq/WkWIZ1A8uhw2lTjTe7FYpo+Ot8pTlPZbCW7cHS5yC tEXQDrZvuJHiBQtUGKl9wuNZOVYV9Rusj/3HeBTnnCQOr5Hh8gGb+mk71tDmJZ4gyTnXlL urIV6uLUYJKnmgkwUxe8cuKiOw+TPFtuLG5dgMVN3uAyZILIULO7dG9ruAUJfw== ARC-Seal: i=1; s=202003rsa; d=ipfire.org; t=1757336385; a=rsa-sha256; cv=none; b=D/0g76xj81M85AsTfrgRWn9ch2/KctHlO3a1AKrRiXV2rnBHL/DNb4Lg9sq0p8TyxIrKQl hRV7I3U9wvuVrBy9V8s5qKpdHGIJjzsPpJ3Syi8mItsU4Rk69tmoWKOHgi8UFB38xmkuXT WDACtkde4WOcJx+fzcYQayg9Z4lp1ISHKdIidY/YpbRpLTacgdQFI19VuOsmsCgNZ4//6G O3ZKnPZEwDULyfZgjbfpYl4J1SBdGQFS/x4V3EMpqXjyPN8Bc0RZRzv+vF8FCjF+ySmNFl 9RYXa5Ha5MrAisKMmmlej4nKbKbpUn8i8zaYG4shXR889iSA/2PILoS48SP/6g== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=ipfire.org header.s=202003ed25519 header.b=d6IPgu3i; dkim=pass header.d=ipfire.org header.s=202003rsa header.b=HH3lfbKn; spf=softfail (mail01.ipfire.org: 2001:678:b28::201 is neither permitted nor denied by domain of "development+bounces-924-patchwork=ipfire.org@lists.ipfire.org") smtp.mailfrom="development+bounces-924-patchwork=ipfire.org@lists.ipfire.org"; dmarc=pass (policy=reject) header.from=ipfire.org Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cL6VT5L0dz30R0 for <patchwork@ipfire.org>; Mon, 08 Sep 2025 12:59:45 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cL6VR0vclz2xHm for <development@lists.ipfire.org>; Mon, 08 Sep 2025 12:59:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cL6VQ0bLQz1Pk; Mon, 08 Sep 2025 12:59:42 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757336382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JlEhvUQx4cjzxPLpnrO703LMtGsdxtnkNdnR/GB4D60=; b=d6IPgu3iGI3UfkFJCoKShN/bbdRJ7WvTqoA3gdxHIPJB9GnH18acN/nL7W/j4KhuKrIuXj nQU0yEUQKQYtYyCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757336382; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JlEhvUQx4cjzxPLpnrO703LMtGsdxtnkNdnR/GB4D60=; b=HH3lfbKn8jgjtpdZAh8KCyZ+fa8nFhpVvMqBtwDj52DFN71gvDMDOaNdVOSr5v3g44/2on pHn1bElRFfpCWjublPSb21LvXxaUYUWOCWZ3eOfnpYiOlGUY7U5RscqclvzGCc/HMnk4xV BZzmHGHRv/Y1QHUSDcg+YJuRcxf8bR/IKCHJLCjqiP5wWgSWDKv8PT66+qDyWCDjWSd1K0 n4wniQ8iHYoY+UY5OeHezshrKGpvqcw2BZQwCcmqavi7ckY958bKwphVIFtV285cYose6r 6bA/0IdacTAzrpxddRy5Mwn2hg/k+l0lScXEIcP0N6/65Qrhx5eW84UuzanHow== From: Adolf Belka <adolf.belka@ipfire.org> To: development@lists.ipfire.org Cc: Adolf Belka <adolf.belka@ipfire.org> Subject: [PATCH 1/2] update.sh: Update collectd.vpn to the new RW log file name Date: Mon, 8 Sep 2025 14:59:37 +0200 Message-ID: <20250908125938.3389609-1-adolf.belka@ipfire.org> Precedence: list List-Id: <development.lists.ipfire.org> List-Subscribe: <https://lists.ipfire.org/>, <mailto:development+subscribe@lists.ipfire.org?subject=subscribe> List-Unsubscribe: <https://lists.ipfire.org/>, <mailto:development+unsubscribe@lists.ipfire.org?subject=unsubscribe> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development+help@lists.ipfire.org?subject=help> Sender: <development@lists.ipfire.org> Mail-Followup-To: <development@lists.ipfire.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-10.64 / 11.00]; BAYES_HAM(-3.00)[99.99%]; DWL_DNSWL_MED(-2.00)[ipfire.org:dkim]; FROM_INTERNAL_BULK_SENDERS(-2.00)[2001:678:b28::201]; R_DKIM_ALLOW(-1.68)[ipfire.org:s=202003ed25519,ipfire.org:s=202003rsa]; NEURAL_HAM(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; DKIM_REPUTATION(-0.95)[-0.94593857798744]; IP_REPUTATION_HAM(-0.72)[asn: 204867(-0.21), country: DE(-0.00), ip: 2001:678:b28::(-0.51)]; DMARC_POLICY_ALLOW_WITH_FAILURES(-0.50)[]; R_MISSING_CHARSET(0.50)[]; MAILLIST(-0.18)[generic]; MIME_GOOD(-0.10)[text/plain]; HAS_LIST_UNSUB(-0.01)[]; MX_GOOD(-0.01)[]; RECEIVED_HELO_LOCALHOST(0.00)[]; ASN(0.00)[asn:204867, ipnet:2001:678:b28::/48, country:DE]; FUZZY_RATELIMITED(0.00)[rspamd.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; FROM_NEQ_ENVFROM(0.00)[adolf.belka@ipfire.org,development@lists.ipfire.org]; DKIM_TRACE(0.00)[ipfire.org:+]; FORGED_SENDER_MAILLIST(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_ALLOW(0.00)[ipfire.org,reject]; R_SPF_SOFTFAIL(0.00)[~all:c]; ARC_SIGNED(0.00)[ipfire.org:s=202003rsa:i=1]; TAGGED_FROM(0.00)[bounces-924-patchwork=ipfire.org]; RCVD_TLS_LAST(0.00)[] X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Action: no action X-Rspamd-Queue-Id: 4cL6VT62VRz3Mp |
Series |
[1/2] update.sh: Update collectd.vpn to the new RW log file name
|
|
Commit Message
Adolf Belka
8 Sep 2025, 12:59 p.m. UTC
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/core/197/update.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/config/rootfiles/core/197/update.sh b/config/rootfiles/core/197/update.sh index 0fd5cc6f0..0c5e226eb 100644 --- a/config/rootfiles/core/197/update.sh +++ b/config/rootfiles/core/197/update.sh @@ -125,6 +125,11 @@ ldconfig # Update the OpenVPN configuration sudo -u nobody /srv/web/ipfire/cgi-bin/ovpnmain.cgi +# Replace the OpenVPN RW log name in collectd.vpn +if grep -q "/var/run/ovpnserver.log" /var/ipfire/ovpn/collectd.vpn; then + sed -i 's|"/var/run/ovpnserver.log"|"/var/run/openvpn-rw.log"|' /var/ipfire/ovpn/collectd.vpn +fi + # Apply SSH configuration /usr/local/bin/sshctrl