From: Stefan Schantl Date: Sat, 26 Jan 2013 21:09:27 +0000 (+0100) Subject: systemd: Add legacy tmpfile for autocreate /run/lock directory. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2ada565d1636a23c07820b033da3d460270c75c;p=ipfire-3.x.git systemd: Add legacy tmpfile for autocreate /run/lock directory. A lot of services use this directory to put temporary files into it. Fixes #10291. --- 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