Question on /etc/nsswitch.conf

Florian Weimer fweimer@redhat.com
Thu Sep 28 13:29:00 GMT 2017


On 09/28/2017 02:28 PM, Yury Norov wrote:
> 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

I believe that it might still be possible that compat without NIS is 
useful, and that people use it.

Thanks,
Florian



More information about the Libc-alpha mailing list