This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Question on /etc/nsswitch.conf
- From: Florian Weimer <fweimer at redhat dot com>
- To: Yury Norov <ynorov at caviumnetworks 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 13:44:49 +0200
- Subject: Re: Question on /etc/nsswitch.conf
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5F94D2E55F5
- References: <20170927215018.6nagohfthyezs3mo@yury-thinkpad> <de59bd81-d555-b9dc-5089-2926b5a2573a@redhat.com> <20170928112847.i2hnrzr2zm66z2un@yury-thinkpad>
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?
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