This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nscd/11928] New: nscd does not account for 'multi on' in /etc/host.conf when ai-resolving hosts
- From: "pasky at suse dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Aug 2010 20:15:02 -0000
- Subject: [Bug nscd/11928] New: nscd does not account for 'multi on' in /etc/host.conf when ai-resolving hosts
- Reply-to: sourceware-bugzilla at sourceware dot org
When nscd is handling getaddrinfo() resolution requests, it fails to properly
initialize its resolver options state and ignores /etc/host.conf. An easy way to
reproduce this is by putting 'multi on' in /etc/host.conf and
cat >>/etc/host.conf <<EOT
1.2.3.4 test
1.2.3.5 test
EOT
Then, with nscd stopped:
$ getent ahosts test
1.2.3.4 STREAM test
1.2.3.4 DGRAM
1.2.3.4 RAW
1.2.3.5 STREAM
1.2.3.5 DGRAM
1.2.3.5 RAW
However, with nscd running:
$ getent ahosts test
1.2.3.4 STREAM test
1.2.3.4 DGRAM
1.2.3.4 RAW
--
Summary: nscd does not account for 'multi on' in /etc/host.conf
when ai-resolving hosts
Product: glibc
Version: 2.12
Status: NEW
Severity: normal
Priority: P2
Component: nscd
AssignedTo: drepper at redhat dot com
ReportedBy: pasky at suse dot cz
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=11928
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.