← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1943798] [NEW] IPv6 localhost (::1) missing from /etc/hosts

 

Public bug reported:

/etc/hosts is missing a '::1 localhost' entry:
https://github.com/canonical/cloud-init/blob/023f97d4e64c267b8bd809510b3fc75fcb9da688/templates/hosts.debian.tmpl#L20

This causes issues that are discussed in:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427067
https://bugs.launchpad.net/bugs/301430

Relevant lines in Debian:
https://salsa.debian.org/installer-team/netcfg/-/blob/1767c9264e04652b9150ffc7b25568e4ea6b2bdd/netcfg.h#L42
https://salsa.debian.org/md/netbase/-/blob/9de8afcad482418cc4956dc09bbf6a2e8624d574/debian/netbase.postinst#L8

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1943798

Title:
  IPv6 localhost (::1) missing from /etc/hosts

Status in cloud-init:
  New

Bug description:
  /etc/hosts is missing a '::1 localhost' entry:
  https://github.com/canonical/cloud-init/blob/023f97d4e64c267b8bd809510b3fc75fcb9da688/templates/hosts.debian.tmpl#L20

  This causes issues that are discussed in:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427067
  https://bugs.launchpad.net/bugs/301430

  Relevant lines in Debian:
  https://salsa.debian.org/installer-team/netcfg/-/blob/1767c9264e04652b9150ffc7b25568e4ea6b2bdd/netcfg.h#L42
  https://salsa.debian.org/md/netbase/-/blob/9de8afcad482418cc4956dc09bbf6a2e8624d574/debian/netbase.postinst#L8

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1943798/+subscriptions



Follow ups