From f2ada565d1636a23c07820b033da3d460270c75c Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sat, 26 Jan 2013 22:09:27 +0100 Subject: [PATCH] systemd: Add legacy tmpfile for autocreate /run/lock directory. A lot of services use this directory to put temporary files into it. Fixes #10291. --- systemd/systemd.nm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/systemd/systemd.nm b/systemd/systemd.nm index 0bf417a24..d93414bc3 100644 --- a/systemd/systemd.nm +++ b/systemd/systemd.nm @@ -5,7 +5,7 @@ name = systemd version = 196 -release = 2 +release = 3 maintainer = Stefan Schantl groups = System/Base @@ -117,6 +117,9 @@ build -e "s/^#ForwardToSyslog=.*$/ForwardToSyslog=no/" \ -e "s/^#ImportKernel=.*$/ImportKernel=yes/" \ -i %{BUILDROOT}/etc/systemd/journald.conf + + # Install legacy tmpfile to autocreate /run/lock on startup. + install -v -m 644 %{DIR_APP}/tmpfiles.d/legacy.conf %{BUILDROOT}%{prefix}/lib/tmpfiles.d/ end end -- 2.39.2