Bug 2635

Summary: /etc/hosts not working
Product: uClibc Reporter: Oleg <belousov.oleg>
Component: NetworkingAssignee: unassigned
Status: RESOLVED FIXED    
Severity: major CC: uclibc-cvs
Priority: P5    
Version: 0.9.32   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description Oleg 2010-09-23 13:15:44 UTC
I'm try:

# cat /etc/hosts
127.0.0.1	localhost
192.168.0.2	work
# ping localhost
ping: bad address 'localhost'

Why?
Comment 1 Oleg 2010-09-23 13:25:27 UTC
Build by buildroot-2010.10 with:

# uClibc Options
# BR2_UCLIBC_VERSION_0_9_29 is not set
# BR2_UCLIBC_VERSION_0_9_30 is not set
# BR2_UCLIBC_VERSION_0_9_31 is not set
BR2_UCLIBC_VERSION_SNAPSHOT=y
BR2_USE_UCLIBC_SNAPSHOT="snapshot"
BR2_UCLIBC_VERSION_STRING="snapshot"
BR2_UCLIBC_CONFIG="toolchain/uClibc/uClibc-snapshot.config"
# BR2_UCLIBC_INSTALL_TEST_SUITE is not set
# BR2_PACKAGE_LIBCDAUDIO is not set
# BR2_PACKAGE_LIBCONFIG is not set
# BR2_PACKAGE_LIBCONFUSE is not set
# BR2_PACKAGE_LIBCGI is not set
# libcgicc requires a toolchain with C++ support enabled
# BR2_PACKAGE_LIBCURL is not set
BR2_PACKAGE_LIBCAP=y
Comment 2 Oleg 2010-09-23 13:26:10 UTC
Sorry! buildroot-2010.08
Comment 3 Bernhard Reutner-Fischer 2011-01-11 18:56:45 UTC
This was fixed before 0.9.32-rc1.
Thanks for the report!