Skip to content

Commit

Permalink
nixos/nscd: Add a descriptive comment to the nscd configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
arianvp committed Dec 12, 2018
1 parent ef6ed03 commit 1d5f4cb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nixos/modules/services/system/nscd.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1d5f4cb

Please sign in to comment.