From patchwork Sun Dec 2 17:13:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Hoffmann X-Patchwork-Id: 203230 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 4A8822C0081 for ; Mon, 3 Dec 2012 04:13:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1773FA011B; Sun, 2 Dec 2012 17:13:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1h67sKqGDazr; Sun, 2 Dec 2012 17:13:37 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A52BBA00B9; Sun, 2 Dec 2012 17:13:37 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 49BF68F74A for ; Sun, 2 Dec 2012 17:13:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2EA568693A for ; Sun, 2 Dec 2012 17:13:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6tvCMnoCc8IV for ; Sun, 2 Dec 2012 17:13:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by whitealder.osuosl.org (Postfix) with ESMTPS id 3415886924 for ; Sun, 2 Dec 2012 17:13:35 +0000 (UTC) Received: from stephan-desktop (p54BBC7C5.dip.t-dialin.net [84.187.199.197]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MY6Nc-1TjjLw3tZo-00VQ1V; Sun, 02 Dec 2012 18:13:33 +0100 Received: by stephan-desktop (Postfix, from userid 1000) id 62257502617; Sun, 2 Dec 2012 18:13:31 +0100 (CET) From: Stephan Hoffmann To: buildroot@busybox.net Date: Sun, 2 Dec 2012 18:13:32 +0100 Message-Id: <1354468412-29281-1-git-send-email-sho@relinux.de> X-Mailer: git-send-email 1.7.0.4 X-Provags-ID: V02:K0:VebRIPdmrw8wlMIB089qFvB6zJavBGe1QM7+gA6X8T2 45Yrgxj/8PJDX/j4i4rl7328gAhyjmH0eQlvs3TosZdynF6ioV uoylK8GzOVtN7LPigwZbY4K3BQPRt5zdJEg2ndBHlYXdnvhSQa iVNeqEXi8yppK+13d6d2fV/8JCnCKDlXTlBPsVespHSk3H91QL vILC5CFGeuPxyn0ekBxEeAnXKXWVHM36q5YvokK6vnT2b7QRAz jPw/BSb8crf4/qSFPHzRRb2cIpovlojK+Fy/Z8IzVEc4VSEyI0 85ZjrJ8lPg0/x6siw/wwUi5qvn2r75Cseo/PkG26yivj60q+06 IqvmBJXLIebHIpn4H5p56HnfpAEUevN0bzPL2LN3o2q5rcAPmf 9bWqK3b1PmpHQ== Subject: [Buildroot] [PATCH] skeleton: add /etc/nsswitch.conf X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 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 --- system/skeleton/etc/nsswitch.conf | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) create mode 100644 system/skeleton/etc/nsswitch.conf diff --git a/system/skeleton/etc/nsswitch.conf b/system/skeleton/etc/nsswitch.conf new file mode 100644 index 0000000..d81e2f0 --- /dev/null +++ b/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 +