linux-container: Check if nscd run directory exists when container is run.
authorArun Isaac <arunisaac@systemreboot.net>
Tue, 21 May 2019 20:16:54 +0000 (01:46 +0530)
committerArun Isaac <arunisaac@systemreboot.net>
Sat, 25 May 2019 05:36:22 +0000 (11:06 +0530)
commitd2928fa63f97844f8b60b9baf8e9a023ee7f2f80
tree5350efe6dbf81c68aee81618590c596ab2121705
parent8698d986db21d6399fb57f1af1e38d6223bf9b92
linux-container: Check if nscd run directory exists when container is run.

* gnu/system/linux-container.scm (containerized-operating-system):
(container-script): Check for existence of the host nscd run directory in the
container script. This check should be run when the container is started, not
when the container script is created.
[network-mappings]: Delete variable.
[nscd-run-directory, nscd-mapping]: New variables.
gnu/system/linux-container.scm