aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-02-25 18:02:13 +0100
committerLudovic Courtès <ludo@gnu.org>2015-02-25 18:02:13 +0100
commitfaf0f39bd339a2f0ee5ca6175d4f175898aadb34 (patch)
tree7457aad49584f2295f04be5b1f8f5cdb5ec0c3a3
parent9d620590b90e84c714ec0ce723c79e35a59fa5a1 (diff)
downloadguix-faf0f39bd339a2f0ee5ca6175d4f175898aadb34.tar
guix-faf0f39bd339a2f0ee5ca6175d4f175898aadb34.tar.gz
services: nscd: Make sure /var/db/nscd exists.
* gnu/services/base.scm (nscd-service)[activate]: Make /var/db/nscd.
-rw-r--r--gnu/services/base.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 94abef65c8..40d4740d46 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -506,7 +506,8 @@ given @var{config}---an @code{<nscd-configuration>} object. Optionally,
(activate #~(begin
(use-modules (guix build utils))
- (mkdir-p "/var/run/nscd")))
+ (mkdir-p "/var/run/nscd")
+ (mkdir-p "/var/db/nscd"))) ;for the persistent cache
(start #~(make-forkexec-constructor
(list (string-append #$glibc "/sbin/nscd")