summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-15 15:08:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-03-25 23:00:59 +0000
commitf76c7b8e6366129a2550417ed6f091717d897a81 (patch)
tree4be93cc28e9a37deaa1b2c34c40da5feb3ca1e28
parent1c69728f31689e5e74d9b5451f9e1c581bf67aac (diff)
downloadpoky-f76c7b8e6366129a2550417ed6f091717d897a81.tar.gz
base-files: Drop localhost.localdomain from hosts file
This was likely something we took inspiration from elsewhere with. It was added in: https://git.openembedded.org/openembedded/commit/packages/netbase/netbase/hosts?id=c8e5702127e507e82e6f68a4b8c546803accea9d in 2005. Debian added this entry around 2004 and discussed and dropped it in 2005: https://lists.debian.org/debian-devel/2005/10/msg00559.html resulting in: https://salsa.debian.org/installer-team/netcfg/-/commit/3c15ee521b2b8f47b34ccc7f610523cd284f2221 We should drop this for some of the reasons in those threads, it doesn't seem to be doing anything too helpful and isn't what most applications expect. (From OE-Core rev: a04b207c4ffa900313a0b5e3079ad2eec7d31f27) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e730d005fa8aec07f9ae25c58d4566eaa92a6997) Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/base-files/base-files/hosts2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/base-files/base-files/hosts b/meta/recipes-core/base-files/base-files/hosts
index b94f414d5c..10a5b6c704 100644
--- a/meta/recipes-core/base-files/base-files/hosts
+++ b/meta/recipes-core/base-files/base-files/hosts
@@ -1,4 +1,4 @@
1127.0.0.1 localhost.localdomain localhost 1127.0.0.1 localhost
2 2
3# The following lines are desirable for IPv6 capable hosts 3# The following lines are desirable for IPv6 capable hosts
4::1 localhost ip6-localhost ip6-loopback 4::1 localhost ip6-localhost ip6-loopback