Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 78ca0c506bc0
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a2eccf3a30fc
Choose a head ref
  • 2 commits
  • 1 file changed
  • 1 contributor

Commits on May 31, 2020

  1. nixos/nscd: set positive hosts caching ttl to 0

    This effectively disables nscd's built-in hosts cache, which turns out
    to be erratic in some cases.
    
    We only use nscd these days as a more ABI-neutral NSS dispatcher
    mechanism.
    
    Local caching should still be possible with local resolvers in
    /etc/resolv.conf (via the `dns` NSS module), or without local resolvers
    via systemd-networkd (via the `resolve` nss module)
    
    We don't set enable-cache to no due to
    #50316 (comment).
    flokli committed May 31, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    renovate-bot Mend Renovate
    Copy the full SHA
    09244cb View commit details

Commits on Jun 1, 2020

  1. Merge pull request #89274 from flokli/nscd-disable-positive-hosts-cac…

    …hing
    
    nixos/nscd: set positive hosts caching ttl to 0
    flokli authored Jun 1, 2020
    Copy the full SHA
    a2eccf3 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 nixos/modules/services/system/nscd.conf
2 changes: 1 addition & 1 deletion nixos/modules/services/system/nscd.conf
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ negative-time-to-live netgroup 0
shared netgroup yes

enable-cache hosts yes
positive-time-to-live hosts 600
positive-time-to-live hosts 0
negative-time-to-live hosts 0
shared hosts yes