This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove compat from DEFAULT_CONFIG lookup strings
- From: Steve Ellcey <sellcey at cavium dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: DJ Delorie <dj at redhat dot com>, libc-alpha at sourceware dot org
- Date: Fri, 18 Aug 2017 14:34:57 -0700
- Subject: Re: [PATCH] Remove compat from DEFAULT_CONFIG lookup strings
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steve dot Ellcey at cavium dot com;
- References: <xn378pbuf6.fsf@greed.delorie.com> <1503089397.2986.43.camel@cavium.com> <alpine.DEB.2.20.1708182111260.1807@digraph.polyomino.org.uk>
- Reply-to: sellcey at cavium dot com
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Fri, 2017-08-18 at 21:12 +0000, Joseph Myers wrote:
> On Fri, 18 Aug 2017, Steve Ellcey wrote:
>
> >
> > I would think so. I did a search and didn't find any more "compat"
> > lookups beyond what you found. Not doing these changes didn't cause
> > any testsuite failures but it does seem like they should be changed. I
> > updated them and reran the testsuite and got no regressions. Here is
> > an updated patch.
> Does this affect any defaults visible to glibc users? If it does, it
> needs an entry in the "Deprecated and removed features, and other changes
> affecting compatibility" section of NEWS.
I think everything is already in the 2.26 Depreciated section. This
was done when the original patch to remove libnss_compat was made.
These changes are just dealing with the fact that that patch was
incomplete.
https://sourceware.org/ml/libc-alpha/2017-08/msg00010.html
* The NIS(+) name service modules, libnss_nis, libnss_nisplus, and
libnss_compat, are deprecated, and will not be built or installed by
default.
The NIS(+) support library, libnsl, is also deprecated. By default, a
compatibility shared library will be built and installed, but not headers
or development libraries. Only a few NIS-related programs require this
library. (In particular, the GNU C Library has never required programs
that use 'gethostbyname' to be linked with libnsl.)
Replacement implementations based on TIRPC, which additionally support
IPv6, are available from <https://github.com/thkukuk/>. The configure
option --enable-obsolete-nsl will cause libnsl's headers, and the NIS(+)
name service modules, to be built and installed.