This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: BIND 8 and libresolv's soname



Hello,

On Sat, Apr 24, Zack Weinberg wrote:

> 
> BIND 8 introduces a /lot/ of interface level changes.  They've added a
> complete thread-safe interface (no global _res struct) and redone a
> bunch of the back end. Many of the internal functions we used to
> export have gone away.  Also, libresolv no longer provides
> gethostbyname; they've added their own version of NSS, and the
> equivalent of _nss_dns_gethostbyname calls res_query directly.
> 
> I am tempted to bump the libresolv major number.  Very very few
> programs link directly with libresolv.so, therefore the impact should
> be pretty minimal.  On my machine, it's only these:
> 
> ping
> ping6
> rblcheck
> traceroute
> traceroute6
> tracepath
> tracepath6
> exim*
> 
> The starred entry - exim - is the only one likely to cause trouble.
> That's the mail daemon.  Sendmail does the same thing.  This may or
> may not be a show-stopper.  Neither sendmail nor exim use the internal
> interfaces that have gone away, so it would just be a recompile... but
> that may be too inconvenient for major mail hubs.
> 
> Comments?

Is is possible, to make from libresolv.so.2 an extra add-on (like I 
have written nss-v1 for SuSE or Cristian glibc-compat for RedHat) ?
Then it is no problem: We could bump the major number, and have the
old version for binary compatibility. I think we don't need to be able
to link against this old version.

  Thorsten

-- 
Thorsten Kukuk      http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE GmbH           Schanzaeckerstr. 10             90443 Nuernberg
Linux is like a Vorlon.  It is incredibly powerful, gives terse,
cryptic answers and has a lot of things going on in the background.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]