Skip to content

IPv6 localhost (::1) missing from /etc/hosts #3905

@ubuntu-server-builder

Description

@ubuntu-server-builder

This bug was originally filed in Launchpad as LP: #1943798

Launchpad details
affected_projects = []
assignee = None
assignee_name = None
date_closed = 2021-11-02T19:54:20.251837+00:00
date_created = 2021-09-16T07:58:57.593054+00:00
date_fix_committed = 2021-09-16T14:12:59.700569+00:00
date_fix_released = 2021-11-02T19:54:20.251837+00:00
id = 1943798
importance = undecided
is_complete = True
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1943798
milestone = None
owner = rhansen
owner_name = Richard Hansen
private = False
status = fix_released
submitter = rhansen
submitter_name = Richard Hansen
tags = []
duplicates = []

Launchpad user Richard Hansen(rhansen) wrote on 2021-09-16T07:58:57.593054+00:00

/etc/hosts is missing a '::1 localhost' entry:

::1 ip6-localhost ip6-loopback

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    launchpadMigrated from Launchpad

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions