summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-12-05 17:59:10 +0100
committerAlyssa Ross <hi@alyssa.is>2024-12-11 11:09:40 +0100
commite9eff47002ddc00e9f4b0472f7d0972509605e59 (patch)
tree4902fd6e238660914d726faabaafd645a1f317e0 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent4c43880bc847e2a75bc35d7c5ddf8ab8368e9369 (diff)
nixos/networking: don't add extra names to ::1
From hosts(5): > For each host a single line should be present with the following > information: > > IP_address canonical_hostname [aliases...] With lines like "::1 localhost ahost.adomin ahost", we were saying that the canonical name for "ahost" was "localhost", the opposite of a canonical name. This is why a second loopback address (127.0.0.2) is used for hostnames with IPv4 — if they were put after "localhost" on the 127.0.0.1 line, the same thing would happen. With IPv6 we can't do the same thing as there's only a single loopback address, so instead the right thing to do is to simply not list the hostnames in /etc/hosts, and rely on the myhostname NSS plugin, which will handle this correctly. (Note that the examples in hosts(5) also do not include IPv6 FQDN or hostname entries.)
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions