https://bugzilla.novell.com/show_bug.cgi?id=727360
https://bugzilla.novell.com/show_bug.cgi?id=727360#c0
Summary: glibc's HOSTALIASES does not work as described (for
non suid/sgid binaries)
Classification: openSUSE
Product: openSUSE 11.2
Version: Final
Platform: All
OS/Version: SLES 11
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: pth@suse.com
ReportedBy: brian.cain@gmail.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.2 (KHTML, like
Gecko) Chrome/15.0.874.106 Safari/535.2
The HOSTALIASES environment variable does not modify gethostbyname() as
documented, but it is effective on other distros (with earlier upstream glibc
releases).
Is there a way to override this behavior on SLES, or has glibc been built such
as to disable the feature entirely?
Reproducible: Always
Steps to Reproduce:
~~~~~~~
cat <<EOF > lookup.c
#include