pikhq / musl-nscd

Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules
Other
46 stars 14 forks source link

Fails with poor error message if /etc/nsswitch.conf is missing #3

Closed ghost closed 5 years ago

ghost commented 7 years ago

If /etc/nsswitch.conf is missing, nscd fails to run with following message:

# /musl-nscd-1.0.1/obj/nscd 
nscd: No such file or directory

This error persists even after touch /etc/nsswitch.conf.

the-maldridge commented 5 years ago

Very unhelpful indeed, I just ran into this today trying to debug another problem. Is there a way to at least print that that file wasn't found? Usually this kind of output means the linker wasn't found.