diff options
| author | Florian Klink <flokli@flokli.de> | 2021-08-20 19:44:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-20 19:44:17 +0200 |
| commit | f8031c60b72f26adeaa236abc3dabd52b94b4978 (patch) | |
| tree | 09469d375ad30b49251d9842d2ea408c3f7f6573 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 3efbe3863aba9bbb49d1f0163d2665b44c125a01 (diff) | |
dockerTools.fakeNss: add /etc/nsswitch.conf (#134958)
Apparently, a non-existent nsswitch.conf causes a very misleading host
resolution, differing from the defaults people are used to.
According to
https://github.com/golang/go/issues/22846#issuecomment-346377144, glibc
says the default is "dns [!UNAVAIL=return] files".
This means, `/etc/hosts` isn't really honored, causing all sorts of
unexpected behaviour.
Let's prevent this, and first ask `/etc/hosts` before querying DNS, like
we do on NixOS too.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
