Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Gytamon opened this issue Feb 9, 2022 · 1 comment

Comments

@Gytamon
Copy link

Gytamon commented Feb 9, 2022

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
Copy link
Contributor

ericonr commented Feb 10, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants