From patchwork Wed Aug 30 10:20:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Fischer X-Patchwork-Id: 7131 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) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4RbL0n22pHz3wtG for ; Wed, 30 Aug 2023 10:20:57 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (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 ECDSA (secp384r1) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4RbL0l4y6Tzhp; Wed, 30 Aug 2023 10:20:55 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4RbL0l46Hnz2yT2; Wed, 30 Aug 2023 10:20:55 +0000 (UTC) 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 (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4RbL0j6NmZz2xSL for ; Wed, 30 Aug 2023 10:20:53 +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 ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4RbL0j12xdzhp for ; Wed, 30 Aug 2023 10:20:53 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1693390853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ac5xHZnTIBeGft89ZuvMnEWDXCOBShTOGCPlbKOWiD8=; b=bgGc7pUH/88Mk9YWlO1CcHHITeB7xKeiHROCpDJmGcv8B/4zLLzmyNRrhryOHzA7heVfpg P/2s7r4PQoGq/JDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1693390853; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ac5xHZnTIBeGft89ZuvMnEWDXCOBShTOGCPlbKOWiD8=; b=qO4XU3OhRGW1mCKEE7GC89FYOlEEvqirhM+M1e4zkclHSY8fashnznQ1wn0nwkZSzaRIWz sPiLG8D1bQ2Rq+uuh0BYgVmuWUvyEEsIFw753+T2Is3xfdgm/rt6uVP3W89k/zzfer1N3G /Yy+Rr/g2rfq4CtUbVfi9WTBsCp6QS6ZjDieM4LMksN+FfkN+pMK63yFQglDRIBpuAT4Bi A6jW+Ot6+df5Xss5nNg+OKI9FVofEdKRO41mh8xbH0xlCkWPTl5aYSrvsGouVWj1EcmTN0 jtDP1iChbLZz08lbCYBuo+XdUV3MEakYbgM7gaMMPKld7jJx1TB08D9jcsvZrQ== From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] monit: Ship fix for Bug #13246 on existing installations Date: Wed, 30 Aug 2023 12:20:47 +0200 Message-Id: <20230830102047.1602-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Matthias Fischer --- config/rootfiles/core/180/update.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/rootfiles/core/180/update.sh b/config/rootfiles/core/180/update.sh index 8a9d3bfd2..664654f7c 100644 --- a/config/rootfiles/core/180/update.sh +++ b/config/rootfiles/core/180/update.sh @@ -31,6 +31,11 @@ for (( i=1; i<=$core; i++ )); do rm -f /var/cache/pakfire/core-upgrade-*-$i.ipfire done +# Create missing '/etc/monit.d'-directory (Bug #13246) +if [ -f /usr/bin/monit ]; then + mkdir -p /etc/monit.d +fi + # Stop services # Extract files