Subject: Re: nsswitch.conf and irs.conf
To: None <email@example.com>
From: Luke Mewburn <firstname.lastname@example.org>
Date: 01/20/2003 12:28:02
On Mon, Jan 20, 2003 at 10:20:46AM +0900, email@example.com wrote:
| >All that we need to change is the back-end for "dns" lookups for
| >those services (e.g, _dns_gethtbyname() et al). That gives you
| >the resolver upgrade to "BIND 8" DNS lookups that you want want,
| >without all the other baggage that IRS comes with. There's no
| >point in bringing in the entire IRS framework (to support switching
| >between dns, nis, and files) when our nsswitch framework already
| >supports such switching.
| it is not just DNS logic that needs to become thread safe. for
| - getaddrinfo(3) has to be thread safe.
| - getaddrinfo(3) calls getservbyname(3). therefore getservbyname(3)
| has to be thread safe, regardless from the backend database being
| used (/etc/services, whatever else).
Yes, so we need to fix those as well.
Replacing getaddrinfo(3) et al with the IRS versions will make it
harder for us in support dynamic loading of nsswitch back-ends,
and limit us to just using what backends IRS currently implements.