From patchwork Fri Mar 17 14:57:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 6702 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4PdS0n6Q5Jz3x6w for ; Fri, 17 Mar 2023 14:57:45 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4PdS0l6DZtzbN; Fri, 17 Mar 2023 14:57:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4PdS0l5Lprz30F6; Fri, 17 Mar 2023 14:57:43 +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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4PdS0k2c2Wz2xNW for ; Fri, 17 Mar 2023 14:57:42 +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 (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4PdS0j5w01zLM; Fri, 17 Mar 2023 14:57:41 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1679065062; 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=jKel29eenWZJBDIJYeXtls/Mh6fwwUrz4niV8nn60KY=; b=P50mqypjP/0urpVrBIn+ycivbKrAN5SvAcZSC/v0/zVBuWRs3zKqUC7Lb0Gv7iSNF77nTz q2FN5q47AdtQ+CCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1679065062; 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=jKel29eenWZJBDIJYeXtls/Mh6fwwUrz4niV8nn60KY=; b=A8yJjeiH48aTjuapLDVpJrzY2HF6mksA5s0rFT+slNboffMSjCf2go/y3io3ftFeNfwdzP xW0917EwbN8P8sF18M7dLkOyj2xonfWMd3eJED2cYKRTZe921bE5yS8umejiJ9cUhbg2m3 har86Dkplvri0r9vXeoQPWvkygLlv9wZm6YbVx8iLVnL7QqFjbVTNOdr04J+LBfn5B4rLM ek25FG6hxuD1Zg7QeXIrcQgfVR1s0tZ5oIVlahQO0jk35wXW7F46ss2tc50mkx/pM7Kq0z C5wchVyuTP9a9qoU8Iun0CLtSW4Fjp7TvAsSxJY3f7jWPr6F/EtpIpi9ALs9TA== From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH] systemd: Do not create /run/log/journal Date: Fri, 17 Mar 2023 15:57:35 +0100 Message-Id: <20230317145735.233790-1-stefan.schantl@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" This will be done by the corresponding tmpfiles configuration and violetes the FHS. Signed-off-by: Stefan Schantl --- systemd/systemd.nm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 9bcefa3a7..30d1e829f 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ name = systemd version = 252 -release = 2.1 +release = 3 maintainer = Stefan Schantl groups = System/Base @@ -193,10 +193,6 @@ build # Don't let udev set up any networking rm -vf %{BUILDROOT}/usr/lib/udev/rules.d/80-net-setup-link.rules - # Create journald related folders. - mkdir -pv %{BUILDROOT}/run/log/journal - chown root:systemd-journal %{BUILDROOT}/run/log/journal - mkdir -pv %{BUILDROOT}/var/log/journal chown root:systemd-journal %{BUILDROOT}/var/log/journal