skeleton: add /etc/nsswitch.conf
authorStephan Hoffmann <sho@relinux.de>
Sun, 2 Dec 2012 07:13:32 +0000 (07:13 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 3 Dec 2012 00:32:16 +0000 (16:32 -0800)
Toolchain Linaro 2012_09 and possibly other glibc based ones
rely on the existence of nsswitch.conf. If it's missing names
from /etc/hosts are not resolved and thus "localhost" is not
known.

Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
system/skeleton/etc/nsswitch.conf [new file with mode: 0644]

diff --git a/system/skeleton/etc/nsswitch.conf b/system/skeleton/etc/nsswitch.conf
new file mode 100644 (file)
index 0000000..d81e2f0
--- /dev/null
@@ -0,0 +1,17 @@
+# /etc/nsswitch.conf
+#
+# Example configuration of GNU Name Service Switch functionality.
+# If you have the `glibc-doc-reference' and `info' packages installed, try:
+# `info libc "Name Service Switch"' for information about this file.
+
+passwd:         files
+group:          files
+shadow:         files
+hosts:          files dns
+networks:       files
+
+protocols:      files
+services:       files
+ethers:         files
+rpc:            files
+