Bläddra i källkod

skeleton: add /etc/nsswitch.conf

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>
Stephan Hoffmann 11 år sedan
förälder
incheckning
4c52ff1acf
1 ändrade filer med 17 tillägg och 0 borttagningar
  1. 17 0
      system/skeleton/etc/nsswitch.conf

+ 17 - 0
system/skeleton/etc/nsswitch.conf

@@ -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
+