Question on /etc/nsswitch.conf
Florian Weimer
fweimer@redhat.com
Mon Oct 2 12:59:00 GMT 2017
On 10/02/2017 02:50 PM, Andreas Schwab wrote:
> On Okt 02 2017, Florian Weimer <fweimer@redhat.com> wrote:
>
>> Could the code call uname directly instead?
>
> uname has nothing to do with the NIS domain, or any domain.
That's not how I read the implementation. Could you elaborate? How can
the NIS domain and the kernel domain differ?
It's not what I would expect, but based on the code, I don't see how the
NIS domain can be configured separately. The local static ypdomainname
variable in ypclnt.c appears to be set by yp_get_default_domain only,
and that eventually gets the data from uname.
Thanks,
Florian
More information about the Libc-alpha
mailing list