systemd: Do not create /run/log/journal

Message ID 20230317145735.233790-1-stefan.schantl@ipfire.org
State Accepted
Commit 39c6a57b958d81ead59117593f806645b0a76d79
Headers
Series systemd: Do not create /run/log/journal |

Commit Message

Stefan Schantl March 17, 2023, 2:57 p.m. UTC
  This will be done by the corresponding tmpfiles configuration
and violetes the FHS.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 systemd/systemd.nm | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
  

Patch

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 <stefan.schantl@ipfire.org>
 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