[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/07: file-systems: Mount /var/run/nscd read-write in containers.
From: |
guix-commits |
Subject: |
04/07: file-systems: Mount /var/run/nscd read-write in containers. |
Date: |
Mon, 4 Nov 2019 17:35:43 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 625bdf09d344302ec2d5da7f35fe35ca1d128a93
Author: Ludovic Courtès <address@hidden>
Date: Mon Nov 4 23:00:08 2019 +0100
file-systems: Mount /var/run/nscd read-write in containers.
Fixes <https://bugs.gnu.org/37967>.
Reported by Ivan Vilata i Balaguer <address@hidden>.
* gnu/system/file-systems.scm (%network-file-mappings): Set 'writable?'
to #true for /var/run/nscd.
---
gnu/system/file-systems.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/system/file-systems.scm b/gnu/system/file-systems.scm
index 6cf6ccc..d47a514 100644
--- a/gnu/system/file-systems.scm
+++ b/gnu/system/file-systems.scm
@@ -507,7 +507,10 @@ a bind mount."
;; XXX: On some GNU/Linux systems, /etc/resolv.conf is a
;; symlink to a file in a tmpfs which, for an unknown reason,
;; cannot be bind mounted read-only within the container.
- (writable? (string=? file "/etc/resolv.conf"))))
+ ;; The same goes with /var/run/nscd, as discussed in
+ ;; <https://bugs.gnu.org/37967>.
+ (writable? (or (string=? file "/etc/resolv.conf")
+ (string=? file "/var/run/nscd")))))
(cons "/var/run/nscd" %network-configuration-files)))
(define (file-system-type-predicate type)
- branch master updated (bf7b08c -> 41b4b71), guix-commits, 2019/11/04
- 01/07: gnu: bootstrap: Memoize 'bootstrap-origin'., guix-commits, 2019/11/04
- 02/07: gnu: commencement: Memoize uses of 'cross-gcc-wrapper'., guix-commits, 2019/11/04
- 04/07: file-systems: Mount /var/run/nscd read-write in containers.,
guix-commits <=
- 07/07: gnu: Add libspatialindex., guix-commits, 2019/11/04
- 05/07: gnu: xfd: Add dependency on libxkbfile., guix-commits, 2019/11/04
- 03/07: daemon: Unregister build hook from the worker's children upon build failure., guix-commits, 2019/11/04
- 06/07: doc: Clarify uses of the 'ip' command., guix-commits, 2019/11/04