Question on /etc/nsswitch.conf
Yury Norov
ynorov@caviumnetworks.com
Thu Sep 28 12:28:00 GMT 2017
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
More information about the Libc-alpha
mailing list