Comment 3 for bug 107432

Revision history for this message
Andy Whitcroft (apw) wrote :

There are two distinct changes in the patch attached in the previous comments. The first removes the modprobes for ipv6, the second changes the default route specifier.

Taking the second one first, it is not at all clear that this is the right thing to do? Also though IANA is only giving out addresses in this range the documentation does seem to imply addresses outside this range could be valid:

  [3] The IPv6 Unicast space encompasses the entire IPv6 address range
       with the exception of FF00::/8. [RFC4291] IANA unicast address
       assignments are currently limited to the IPv6 unicast address
       range of 2000::/3. IANA assignments from this block are registered
       in the IANA registry: iana-ipv6-unicast-address-assignments.

The first part I can reproduce here on Jaunty (see below). Probabally the right thing to do is not remove the probes but ignore any errors from them so that if someone builds their own kernel with the support back as modules things will still work:

# ifup -v eth0
Configuring interface eth0=eth0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/dhclient3-apparmor
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant

ifconfig eth0 10.0.0.10 netmask 255.255.255.0 up
 route add default gw 10.0.0.1 metric 100 eth0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-autoipd
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
run-parts: executing /etc/network/if-up.d/postfix
run-parts: executing /etc/network/if-up.d/wpasupplicant
Configuring interface eth0=eth0 (inet6)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/dhclient3-apparmor
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
modprobe -Q ipv6
Failed to bring up eth0.
#