On Tue, 29 Aug 2017, Steve Ellcey wrote: > No reason, I just didn't realise libnss_nis wasn't built by default. > > Here is an updated patch for setting the default lookup methods in nss. > I updated nss/nsswitch.c to not use nis lookups when RPC is not > configured and I updated DEFAULT_CONFIG in grp/initgroups.c to be > "compat [NOTFOUND=return] files" when using NSL instead of just "compat > files".  DJ noticed that and I think the missing NOTFOUND is just an > oversight and it conflicted with the documentation in manual/nss.texi. > Fixing the code seemed more reasonable than documenting the existing > setting.  I did update the documentation to reflect the behavour of > this patch. > > I tested once with "--enable-obsolete-nsl --enable-obsolete-rpc" and > once without and had no regressions from the unmodified glibc on > aarch64. > > OK to checkin? I have no further comments on this patch. -- Joseph S. Myers joseph@codesourcery.com