A lot of services use this directory to put temporary files into it.
Fixes #10291.
name = systemd
version = 196
-release = 2
+release = 3
maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
groups = System/Base
-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