Message ID | f9281ceff2b8b01a6bf82403309419b90fa32ef2.1692178169.git.ngraves@ngraves.fr |
---|---|
State | New |
Headers | |
Series | Allow mounting root on tmpfs for impersistence | |
Commit Message
diff --git a/gnu/services.scm b/gnu/services.scm index 109e050a23..a992800796 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -670,6 +670,7 @@ (define (activation-script gexps) ;; Make sure the user accounting database exists. If it ;; does not exist, 'setutxent' does not create it and ;; thus there is no accounting at all. + (mkdir-p "/var/run") (close-port (open-file "/var/run/utmpx" "a0")) ;; Same for 'wtmp', which is populated by mingetty et