diff options
author | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2017-02-07 06:46:11 +0000 |
---|---|---|
committer | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2017-02-19 16:19:28 +0000 |
commit | 02903e2420d7b0c051c427e2a922cd778754c635 (patch) | |
tree | 99435cf3c7b085b2ee924a16bd90d122c2fbfb09 | |
parent | 422d1d1492b9fab5b3e0086c49ee1f06b50bac7a (diff) | |
download | gnu-guix-02903e2420d7b0c051c427e2a922cd778754c635.tar gnu-guix-02903e2420d7b0c051c427e2a922cd778754c635.tar.gz |
Fix issue with "/var/log" not existing during container activationrelease_3
-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 |