aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services.scm1
1 files changed, 1 insertions, 0 deletions
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