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

If not exists the directory of the file socket_path, the socket creation failed #35

Open Gytamon opened 2 years ago

Gytamon commented 2 years ago

If the path (/var/run/nscd/) does not exist then socket creation die, perhaps pre-create the directory will be an idea into the main.c

ericonr commented 2 years ago

We currently do that in the service scripts for musl-nscd, but I'm not entirely opposed to doing it in the program itself. It would make it necessary to manipulate some paths, though.

Are you interested in making a PR?