On Fri, 2017-08-18 at 22:12 +0000, Joseph Myers wrote: >  > But the impression that NEWS entry gives is that you can use  > --enable-obsolete-nsl to get back the previous semantics.  Does your patch  > change the semantics in the --enable-obsolete-nsl case? Here is an updated patch that maintains the original semantics and default settings when --enable-obsolete-nsl is used. Steve Ellcey sellcey@cavium.com 2017-08-22  Steve Ellcey   * grp/initgroups.c: Include config.h. (DEFAULT_CONFIG): New macro. (internal_getgrouplist): Use DEFAULT_CONFIG. * nscd/initgrcache.c (addinitgroupsX): Likewise. * nss/nsswitch.c (__nss_disable_nscd): Likewise. * nss/grp-lookup.c: Include config.h (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL. * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise. * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.