mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
file-systems: Mount /var/run/nscd read-write in containers.
Fixes <https://bugs.gnu.org/37967>. Reported by Ivan Vilata i Balaguer <ivan@selidor.net>. * gnu/system/file-systems.scm (%network-file-mappings): Set 'writable?' to #true for /var/run/nscd.
This commit is contained in:
parent
af73beeba1
commit
625bdf09d3
1 changed files with 4 additions and 1 deletions
|
@ -507,7 +507,10 @@ (define %network-file-mappings
|
|||
;; 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)
|
||||
|
|
Loading…
Reference in a new issue