diff options
-rw-r--r-- | gnu/services.scm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services.scm b/gnu/services.scm index 6ac4f1322d..15a0f2f895 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -345,6 +345,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 |