diff options
author | Arian van Putten <aeroboy94@gmail.com> | 2018-12-12 15:34:05 +0100 |
---|---|---|
committer | Arian van Putten <aeroboy94@gmail.com> | 2018-12-12 15:35:46 +0100 |
commit | 1d5f4cbb784904e0a6420cc62b0b24ca0873abc5 (patch) | |
tree | 195f07e4344dc49890a7ba6fb4edbf2b9b4e2c72 /nixos | |
parent | ef6ed03e2f7e757a46469077d8ef66cecccb919d (diff) | |
download | nixpkgs-1d5f4cbb784904e0a6420cc62b0b24ca0873abc5.tar nixpkgs-1d5f4cbb784904e0a6420cc62b0b24ca0873abc5.tar.gz nixpkgs-1d5f4cbb784904e0a6420cc62b0b24ca0873abc5.tar.bz2 nixpkgs-1d5f4cbb784904e0a6420cc62b0b24ca0873abc5.tar.lz nixpkgs-1d5f4cbb784904e0a6420cc62b0b24ca0873abc5.tar.xz nixpkgs-1d5f4cbb784904e0a6420cc62b0b24ca0873abc5.tar.zst nixpkgs-1d5f4cbb784904e0a6420cc62b0b24ca0873abc5.zip |
nixos/nscd: Add a descriptive comment to the nscd configuration
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/system/nscd.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/system/nscd.conf b/nixos/modules/services/system/nscd.conf index ce583816e15..603a5d01acc 100644 --- a/nixos/modules/services/system/nscd.conf +++ b/nixos/modules/services/system/nscd.conf @@ -1,3 +1,11 @@ +# We basically use nscd as a proxy for forwarding nss requests to appropriate +# nss modules, as we run nscd with LD_LIBRARY_PATH set to the directory +# containing all such modules +# Note that we can not use `enable-cache no` As this will actually cause nscd +# to just reject the nss requests it receives, which then causes glibc to +# fallback to trying to handle the request by itself. Which won't work as glibc +# is not aware of the path in which the nss modules live. As a workaround, we +# have `enable-cache yes` with an explicit ttl of 0 server-user nscd threads 1 paranoia no |