This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: nis compat depreciation and test failures
- From: Steve Ellcey <sellcey at cavium dot com>
- To: Carlos O'Donell <carlos at redhat dot com>, DJ Delorie <dj at redhat dot com>
- Cc: libc-alpha at sourceware dot org, kukuk at thkukuk dot de
- Date: Thu, 17 Aug 2017 12:52:47 -0700
- Subject: Re: nis compat depreciation and test failures
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Steve dot Ellcey at cavium dot com;
- References: <xnd17yc9m1.fsf@greed.delorie.com> <e919e0e5-25a8-bf4d-2b53-c5028038bfa1@redhat.com>
- Reply-to: sellcey at cavium dot com
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Wed, 2017-08-16 at 16:32 -0400, Carlos O'Donell wrote:
>
> I think that's also a good idea.
>
> In summary:
>
> (a) Make tests independent of host configuration.
>
> (b) Add more tests to nss/ subdirectory to test for things like the
> behaviour when specifying a missing NSS module.
>
> (c) Remove 'compat' from DEFAULT_CONFIG for all glibc-built services.
I have no idea on how to do (a) or what kind of tests we would need for
(b) but (c) seems easy enough. If I change DEFAULT_CONFIG in
nss/grp-lookup.c, nss/pwd-lookup.c, and nss/spwd-lookup.c from
"compat [NOTFOUND=return] files" to just "files", the tests work fine
on my x86 and aarch64 boxes. Does that seem like the right
DEFAULT_CONFIG? If so, I can submit a patch.
Steve Ellcey
sellcey@cavium.com