]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
base-files: Drop localhost.localdomain from hosts file
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Mar 2023 07:50:45 +0000 (07:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 14 Mar 2023 07:16:29 +0000 (07:16 +0000)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/base-files/base-files/hosts

index b94f414d5c8e64da389b0bc55f9e92849164d037..10a5b6c704d108b0e8a22aef5ebbcff214566e58 100644 (file)
@@ -1,4 +1,4 @@
-127.0.0.1      localhost.localdomain           localhost
+127.0.0.1      localhost
 
 # The following lines are desirable for IPv6 capable hosts
 ::1     localhost ip6-localhost ip6-loopback