From 4315ab8f0b67a46e55f9b9f89d68d7fa68d2123a Mon Sep 17 00:00:00 2001
From: Alex Iribarren <Alex.Iribarren@cern.ch>
Date: Thu, 8 Oct 2020 10:19:01 +0200
Subject: [PATCH] Fix /run/lock breakage

---
 c8-base-docker.ks | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/c8-base-docker.ks b/c8-base-docker.ks
index f2fc884..5f4d951 100644
--- a/c8-base-docker.ks
+++ b/c8-base-docker.ks
@@ -113,7 +113,9 @@ localedef -v -c -i en_US -f UTF-8 en_US.UTF-8
 # Clean up after the installer.
 rm -f /etc/rpm/macros.imgcreate
 
-# temp fix for systemd /run/lock
+# Fix /run/lock breakage since it's not tmpfs in docker
+umount /run
+systemd-tmpfiles --create --boot
 
 ############# CERN'ify ########################################################
 
-- 
GitLab