home | list info | list archive | date index | thread index

Re: Tips on debugging nsswitch

Alex
Have a look at sssd. It is relatively recent ( speaking as a greybeard). It probably could use some maintenance help from someone who cares, since I suspect all the good linux developers have found other more popular projects to work on. Please correct anything I said above.
Cheers -- Rick


On April 8, 2020 8:35:07 AM EDT, Alex Pilon <alp [ at ] alexpilon [ dot ] ca> wrote:
>On Wed, Apr 08, 2020 at 06:36:33AM -0400, Rick Leir wrote:
>> What do you have in /etc/nsswitch.conf ?
>
>I *had* exactly this:
>
>  hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return] dns
>
>Had, the problem has fixed itself with a reboot which sounds to me to
>be
>total nonsense:
>
>- /etc/nsswitch.conf was being reread every time IIRC.
>- I neglected to see if it was loading the NSS libs.
>- I am not running nscd, it's 2020 and there wasn't any NIS either.
>- There is no daemon here. Is some state being cached in some shared
>  memory somewhere?
>- It was the same config on my laptop as dad's.
>
>I am not asking so much how to debug the specific problem, as to how to
>a bit more generally figure things out in opaque libraries short of
>gdb and hope there are some meaningful symbols.
>
>> Cheers -- Rick
>
>Same. Cheers,
>
>Alex

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 

message navigation