This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Question on /etc/nsswitch.conf
- From: Yury Norov <ynorov at caviumnetworks dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-alpha at sourceware dot org, Steve dot Ellcey at cavium dot com, maxim dot kuvyrkov at linaro dot org
- Date: Thu, 28 Sep 2017 15:28:36 +0300
- Subject: Re: Question on /etc/nsswitch.conf
- Authentication-results: sourceware.org; auth=none
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=Yuri dot Norov at cavium dot com;
- References: <20170927215018.6nagohfthyezs3mo@yury-thinkpad> <de59bd81-d555-b9dc-5089-2926b5a2573a@redhat.com> <20170928112847.i2hnrzr2zm66z2un@yury-thinkpad> <017aeba9-6400-6ef2-b70c-74db69b1aa39@redhat.com>
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
On Thu, Sep 28, 2017 at 01:44:49PM +0200, Florian Weimer wrote:
> On 09/28/2017 01:28 PM, Yury Norov wrote:
> > Yes, it is, thanks. It means that getpwuid(), getpwnam() etc are
> > broken because with NUll in return value and untouched errno they
> > report that no user record found in passwd. Whilst the record exists.
>
> Is this because your new glibc doesn't have the compat module?
>
Do you mean libnss_compat? There's no this library in Linaro toolchain.
AFAIR, it was deprecated and there were already issues with it.
https://sourceware.org/ml/libc-alpha/2017-08/msg00531.html
> This old discussion is relevant:
>
> https://sourceware.org/ml/libc-alpha/2017-03/msg00200.html
>
> compat is only loosely coupled with NIS (it's just the default fallback
> module), so we could still build it if it is used with other services as
> well, even if the NIS libraries are disabled.
>
> Thanks,
> Florian