[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/9] activation: Allow /var/lib to be a home directory.
From: |
David Craven |
Subject: |
[PATCH 2/9] activation: Allow /var/lib to be a home directory. |
Date: |
Thu, 1 Sep 2016 17:57:04 +0200 |
* gnu/build/activation.scm (activate-user): Make sure /var/lib exists.
---
gnu/build/activation.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 10aa58d..3abfdd6 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -233,6 +233,9 @@ numeric gid or #f."
;; 'groupadd' aborts if the file doesn't already exist.
(touch "/etc/group")
+ ;; allow /var/lib/application to be a home directory
+ (mkdir-p "/var/lib")
+
;; Create the root account so we can use 'useradd' and 'groupadd'.
(activate-user (find (match-lambda
((name (? zero?) _ ...) #t)
--
2.9.0
Re: [PATCH 2/9] activation: Allow /var/lib to be a home directory., Ludovic Courtès, 2016/09/03
[PATCH 4/9] services: syslog: Use syslog-configuration., David Craven, 2016/09/01
Re: [PATCH 1/9] system: vm: Remove -net user flag., ng0, 2016/09/02