From 344f7a7d60c51b1de201247b8610826d8988f2ff Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Tue, 7 Feb 2017 06:46:11 +0000 Subject: Fix issue with "/var/log" not existing during container activation --- gnu/services.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/services.scm b/gnu/services.scm index e645889d30..509fa96897 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -347,6 +347,7 @@ ACTIVATION-SCRIPT-TYPE." ;; Same for 'wtmp', which is populated by mingetty et ;; al. + (if (not (file-exists? "/var/log")) (mkdir "/var/log")) (close-port (open-file "/var/log/wtmp" "a0")) ;; Set up /run/current-system. Among other things this -- cgit v1.2.3