From 2f28385bde240cf9447e171f412eda07ed7b9897 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Tue, 26 Jan 2016 22:50:10 +0100 Subject: [PATCH] Add nsswitch.conf to the root fs Without this file, name resolution cannot be done with `/etc/hosts` which prevent easy use of containers linking. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 204ed85..ba78688 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,8 @@ root/lib64/ld-linux-x86-64.so.2: | root/lib64 @cp -L /lib64/ld-linux-x86-64.so.2 root/lib64/ root/etc/protocols: | root/etc @cp -L /etc/protocols root/etc/ +root/etc/nsswitch.conf: | root/etc + @cp -L /etc/nsswitch.conf root/etc/ root/etc/services: | root/etc @cp -L /etc/services root/etc/ root/usr: | root