From e48c17b10d8f3bf6b6766ceca478f4ad0aaac744 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Fri, 10 Mar 2017 14:31:01 +0100 Subject: [PATCH] appliance: run systemd-tmpfiles also for /var/run Commit a6330e9d3af0f5286f1d53d909fd868387b67f69 enabled /run for systemd-tmpfiles: while this works fine in most of the cases, there are few tmpfiles configurations that still references /var/run instead of /run. As result, include also /var/run in the systemd-tmpfiles execution. --- appliance/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appliance/init b/appliance/init index b95185779..968429c4b 100755 --- a/appliance/init +++ b/appliance/init @@ -90,7 +90,7 @@ machine_id=$(dd if=/dev/urandom bs=16 count=1 status=none | od -x -A n) echo "${machine_id// /}" > /etc/machine-id # Set up tmpfiles (must run after kmod.conf is created above). -systemd-tmpfiles --prefix=/dev --prefix=/run --create --boot +systemd-tmpfiles --prefix=/dev --prefix=/run --prefix=/var/run --create --boot # Find udevd and run it directly. for f in /lib/systemd/systemd-udevd /usr/lib/systemd/systemd-udevd \