[RFC PATCH v4 1/2] configure: Remove --enable-obsolete-nsl

Petr Vorel pvorel@suse.cz
Tue Jun 9 16:17:11 GMT 2020


Hi Szabolcs,

...
> > +* Remove configure option --enable-obsolete-nsl. libnsl is only built as shared
> > +  library for backward compatibility and the NSS modules libnss_compat,
> > +  libnss_nis and libnss_nisplus are not built at all, libnsl's headers aren't
> > +  installed. This compatibility is kept only for architectures and ABIs that
> > +  have been added in or before version 2.28. Replacement implementations based
> > +  on TI-RPC, which additionally support IPv6, are available from
> > +  <https://github.com/thkukuk/>.

> can it cause libc update problems on systems that
> have nsswitch.conf referencing those old nss libs?

> maybe mention that configs may need to be updated?
Good point, thanks! I only mentioned it in news, but at least these files needs
to be updated:
manual/install.texi
manual/nsswitch.texi
manual/nss.texi
nss/nsswitch.conf
shlib-versions

And, if it gets merged and released,
man5/nsswitch.conf.5.html from man-pages project needs to be updated as well.

Not sure what should be done with shlib-versions. Should be NIS related setup
(libnsl=1, libnss_nis=2, libnss_nisplus=2) simply deleted?  There is also NIS
mentioned in arch specific sysdeps/unix/sysv/linux/mips/shlib-versions.

Kind regards,
Petr


More information about the Libc-alpha mailing list