No IPv6 addresses in default /etc/hosts

Bug #211357 reported by Martin Pitt
6
Affects Status Importance Assigned to Milestone
Ubuntu JeOS
Fix Committed
Undecided
Unassigned
netbase (Ubuntu)
Invalid
Medium
Martin Pitt

Bug Description

Binary package hint: netbase

The automatic dist-upgrade tester revealed a diff in /etc/hosts between a gutsy->hardy upgrade (+++) and a clean hardy install (---):

--- /tmp/tmpkLNbyZ/etc-fresh.tar/etc/hosts 2008-01-28 15:45:45.000000000 +0100
+++ /tmp/tmpkLNbyZ/etc-upgrade.tar/etc/hosts 2007-12-18 16:35:53.000000000 +0100
@@ -1,2 +1,12 @@
 127.0.0.1 localhost
 127.0.1.1 ubuntu.localdomain ubuntu
+
+# The following lines are desirable for IPv6 capable hosts
+# (added automatically by netbase upgrade)
+
+::1 ip6-localhost ip6-loopback
+fe00::0 ip6-localnet
+ff00::0 ip6-mcastprefix
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters
+ff02::3 ip6-allhosts

It's probably intended that the IPv6 addresses are present in a clean installation as well.

Tags: upgrade
Martin Pitt (pitti)
Changed in netbase:
importance: Undecided → Medium
milestone: none → ubuntu-8.04
assignee: nobody → pitti
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Also happens on dapper->hardy upgrade.

Revision history for this message
Mackenzie Morgan (maco.m) wrote :

Given the degradation in quality by having packets routed through translation servers to go between IPv4 and IPv6 parts of the internet, I'm not sure I'd consider having IPv6 enabled is a good thing just yet. The infrastructure's not really there. Many of the flaky networking issues on ubuntuforums.org are resolved by commenting out IPv6. Perhaps a commented version as default with instructions to uncomment if you need IPv6 would make more sense?

Revision history for this message
Colin Watson (cjwatson) wrote :

We've been enabling these for ages, and now isn't really the time to turn them off. This bug is simply about the discrepancy between upgrade and fresh install.

In any case, this seems to be a bug in the installation system used by the test harness; the regular installers add these entries unconditionally.

Revision history for this message
Martin Pitt (pitti) wrote :

This is a bug in jeos-builder, as used for the upgrade testing.

Changed in netbase:
milestone: ubuntu-8.04 → none
status: In Progress → Invalid
Nick Barcet (nijaba)
Changed in ubuntu-jeos:
assignee: nobody → nijaba
status: New → In Progress
Revision history for this message
Nick Barcet (nijaba) wrote :

Fix commited in https://code.launchpad.net/~nijaba/ubuntu-jeos/ipv6
Soren should merge u-v-b for an SRU soon I think.

Changed in ubuntu-jeos:
assignee: nijaba → nobody
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.