This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on /etc/nsswitch.conf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]