From 93205adc7d1a7942829f2fd8c9305863e786a490 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Fri, 19 May 2017 09:27:52 -0400 Subject: [PATCH] docker-base: limit systemd-tmpfiles to /run/ In 96a6711 we added re-running systemd-tmpfiles to add files to /run on the root fs of the container. Here we'll limit where systemd-tmpfiles puts files by passing it --prefix /var and --prefix /var/run/ --- fedora-docker-base.ks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fedora-docker-base.ks b/fedora-docker-base.ks index 56c46e3..58d03a6 100644 --- a/fedora-docker-base.ks +++ b/fedora-docker-base.ks @@ -26,6 +26,6 @@ systemctl mask systemd-remount-fs.service dev-hugepages.mount sys-fs-fuse-connec # This unmounts /run (tmpfs) and then recreates the files # in the /run directory on the root filesystem of the container umount /run -systemd-tmpfiles --create --boot +systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot %end