This is the mail archive of the glibc-bugs@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]

[Bug manual/25156] discrepancy between NSS documentation and actual behaviour/code if nsswitch.conf is absent


https://sourceware.org/bugzilla/show_bug.cgi?id=25156

--- Comment #2 from Jan Hacker <jan at hacker dot ch> ---
(In reply to Carlos O'Donell from comment #1)
> (1) What is the default without nsswitch.conf?
> 
> We define DEFAULT_CONFIG in the source file that is used to define the
> service.

Yes, thank you -- a few minutes ago, djdelorie pointed this out to me on IRC.
I really only mis-read the code :-(
In the meantime, I verified it really works as documented.

> (2) What *should* the default be?
> 
> I think it should probably be adjusted to "files dns" as we use in modern
> day distributions.
> 
> In summary:
> - I think we're only talking about (2) in this case, but if you have
> observed (1) to be wrong, then please say so and provide some debugging
> details.

I'm really happy to hear you're open to adjusting the default!
I think that would be a user-friendly change - and, as a side-effect, it would
also resolve the original issue I raised within Go :-)

So far, I couldn't come up with any negative effects of that change...
DJ Delorie proposed to take such a discussion to libc-alpha.
Would you like me to post a corresponding thread on libc-alpha or will you
simply discuss/manage it "internally"?

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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