From patchwork Sat Jun 20 16:34:00 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 9956 Return-Path: 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 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4gjKmh5gSYz3wbB for ; Sat, 20 Jun 2026 16:34:28 +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 "YE1" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4gjKmh1mBLz2r4 for ; Sat, 20 Jun 2026 16:34:28 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4gjKmh13WYz2ylj for ; Sat, 20 Jun 2026 16:34:28 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR2" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4gjKmd4fsCz2xbk for ; Sat, 20 Jun 2026 16:34:25 +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 4gjKmc1pcHzSr; Sat, 20 Jun 2026 16:34:24 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1781973264; 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=tdHXxsKYuWuMaqTyRkEbts/ySBqct+2acFwNWlrQYks=; b=3D5prjOyEalNdqN1CqOQGapyAIu83vGDPbPxiguHoNM3SAgnW/6hnGMisCJOE0cZvpZhik 7q6uxxPEV3ELETAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1781973264; 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=tdHXxsKYuWuMaqTyRkEbts/ySBqct+2acFwNWlrQYks=; b=tdgK9b18myP/BTJJoxN/hsmD+omim5Ew/GgvaE18TIIUrkJX55CMSoWDhOeyNPjsaqjxfm tgD4KsesyO1eIgf4Gd7+zE1bGRpLUD+PtIzBcYo4swMvRDmAx3ahG7/HoreCLIuIBUmUpH +8OyyBEYFoun9QeCbn/JEks7zzvm8V2/CjebPttNjDIiWFW/8xKQkf/5oKrbLPHzulOv9P bigjTSNrDV9LncchXcbvFQl/XrzsZXFzh9OZG+DsNfZ043mav6fxSawvvOg2b/pAZZ/8Dx rMby/Dx5XTBG+bzSMP8TRQWkY8gcAkzGJuHq6vlZG/u/uXKR21QTw8rahOAkkw== From: Matthias Fischer To: development@lists.ipfire.org Cc: Matthias Fischer Subject: [PATCH] monit 6.0.0: Fix for '/etc/monitrc', if already installed Date: Sat, 20 Jun 2026 18:34:00 +0200 Message-ID: <20260620163416.2908-1-matthias.fischer@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Signed-off-by: Matthias Fischer Reviewed-by: Adolf Belka Tested-by: Adolf Belka --- config/rootfiles/core/204/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/204/update.sh b/config/rootfiles/core/204/update.sh index 477237a04..0629c154e 100644 --- a/config/rootfiles/core/204/update.sh +++ b/config/rootfiles/core/204/update.sh @@ -66,6 +66,11 @@ if [ -e /boot/grub/grub.cfg ]; then /usr/bin/install-bootloader fi +# If 'monit' is installed: update '/etc/monitrc' for use with 'monit v6.0.0' +if [ -e /etc/monitrc ]; then + sed -i -e "s/^set logfile/set log/g" /etc/monitrc +fi + sync # Don't report the exitcode last command