From f6d8a969937ff078651ac3582e726b185d9c794d Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 16 Oct 2017 15:11:58 +0200 Subject: nsswitch: use [NOTFOUND=return] for mdns Commit 987aac7 and issue #18183 were intended to fix support for other things, but in the process, changed mdns_minimal to use the wrong return setting, resulting in permanent failures in early boot, affecting things like issue #30459. Signed-off-by: Jason A. Donenfeld --- nixos/modules/config/nsswitch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/config/nsswitch.nix') diff --git a/nixos/modules/config/nsswitch.nix b/nixos/modules/config/nsswitch.nix index 97278238dcd5..7b36d4f1cbdf 100644 --- a/nixos/modules/config/nsswitch.nix +++ b/nixos/modules/config/nsswitch.nix @@ -18,7 +18,7 @@ let hostArray = [ "files" ] ++ optionals mymachines [ "mymachines" ] - ++ optionals nssmdns [ "mdns_minimal [!UNAVAIL=return]" ] + ++ optionals nssmdns [ "mdns_minimal [NOTFOUND=return]" ] ++ optionals nsswins [ "wins" ] ++ optionals resolved ["resolve [!UNAVAIL=return]"] ++ [ "dns" ] -- cgit v1.2.3