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

nscd doesn't start with NixOS #88

Closed
domenkozar opened this issue Oct 29, 2019 · 2 comments · Fixed by #117
Closed

nscd doesn't start with NixOS #88

domenkozar opened this issue Oct 29, 2019 · 2 comments · Fixed by #117

Comments

@domenkozar
Copy link
Contributor

[155882.250676] systemd[225]: nscd.service: Failed to set up mount namespacing: Operation not supported
[155882.250868] systemd[225]: nscd.service: Failed at step NAMESPACE spawning /nix/store/hljwhpqjhpy5327zfmzjjh8xyly3hiy2-glibc-2.27-bin/sbin/nscd: Operation not supported
@malte-v
Copy link

malte-v commented Sep 12, 2020

Same issue here. @domenkozar Have you found a fix?

@roberth
Copy link
Member

roberth commented Sep 13, 2020

The error seems to originate from systemd's sandboxing. Judging from the nscd module it "only" needs DynamicUser. Perhaps you could disable DynamicsUser or add service.capabilities.SYS_ADMIN= true;

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

Successfully merging a pull request may close this issue.

3 participants