Bug 2635 - /etc/hosts not working
Summary: /etc/hosts not working
Status: RESOLVED FIXED
Alias: None
Product: uClibc
Classification: Unclassified
Component: Networking (show other bugs)
Version: 0.9.32
Hardware: Other Linux
: P5 major
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-23 13:15 UTC by Oleg
Modified: 2011-01-11 18:56 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!