Skip to content

Commit

Permalink
nsswitch: use [NOTFOUND=return] for mdns
Browse files Browse the repository at this point in the history
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 <Jason@zx2c4.com>
  • Loading branch information
zx2c4 authored and Mic92 committed Oct 16, 2017
1 parent 6a3026b commit d95a0b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/config/nsswitch.nix
Expand Up @@ -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" ]
Expand Down

0 comments on commit d95a0b9

Please sign in to comment.