This bug was fixed in the package network-manager - 0.9.4.0-0ubuntu4.2

---------------
network-manager (0.9.4.0-0ubuntu4.2) precise-proposed; urgency=low

  * debian/patches/git_use_wpa_wext_methods_50435e1.patch: use the same kind
    of logic as wpasupplicant instead of just looking at whether a driver
    reports signal over nl80211 to decide whether to use that or fallback
    to wext. (LP: #1035590)
  * debian/patches/ipw2x00-no-nl80211.patch: replaced by the patch above.
  * debian/patches/git_ignore_ipconfig_dups_cca4052.patch: silently ignore
    duplicates in NMIP[46]Config objects; which tends to happen fairly
    regularly with RDNSS. (LP: #996032)
  * debian/patches/nm-ipv6-route-cache.patch: don't re-add routes we receive
    from kernel notifications to the routing table if they have the
    RTM_F_CLONED flag; since that means they're host routes used temporarily
    by the kernel to reach a specific destination; keeping them would cause at
    least issues with VPNs, and possibly confusion with routing daemons.
    Thanks to Ben Jenks for the patch. (LP: #1038541)
  * debian/ifblacklist_migrate.sh: make sure that "iface X inet6" entries added
    by d-i also get commented out if set up for dhcp or auto -- this follows
    what is already done for IPv4, where such devices should be handled by
    NetworkManager. This fixes issues where people installing using d-i and
    where IPv6 autoconfiguration is available would get their interfaces
    ignored by NetworkManager when installing desktop. (LP: #995165)
 -- Mathieu Trudel-Lapierre <[email protected]>   Wed, 10 Oct 2012 17:31:55 
-0400

** Changed in: network-manager (Ubuntu Precise)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/995165

Title:
  IPv4 connectivity broken after installing from ubuntu-12.04-alternate-
  amd64.iso

Status in “network-manager” package in Ubuntu:
  Fix Released
Status in “network-manager” source package in Precise:
  Fix Released

Bug description:
  [Impact]
  IPv6 is becoming increasingly popular and installations on IPv6-ready 
networks are becoming more frequent; this issue affects installations of the 
Desktop image from the alternate image (or using d-i in any other way) when 
IPv6 autoconfiguration or DHCPv6 is used. These installations will fail to 
recognize that the interface should be managed by NetworkManager after the 
installation because only the "iface X inet dhcp" line would be commented out, 
leaving another valid "iface X" line for "inet6" causing NetworkManager to 
ignore the device. The solution was to comment out all lines in 
/etc/network/interfaces pertaining to interface X: "auto X", "iface X inet", 
and "iface X inet6".

  
  [Test Case]
  1a) With IPv6 autoconfiguration (for example, using radvd) or DHCPv6 
available on the network:
  1b) With no IPv6 available on the network:
  2) Install Ubuntu from the alternate CD; or using d-i via a netboot image.
  3) After the installation:
   a) Verify that NetworkManager properly handles all interfaces.
   b) Verify that the network interfaces configuration is commented out in 
/etc/network/interfaces.

  
  [Regression Potential]
  Untypical configurations may find devices that should be ignored by 
NetworkManager to be handled by it. Standard installations could fail to 
comment the necessary information from /etc/network/interfaces to allow for 
NetworkManager to do is job; or the file could be mangled to remove the "lo" 
interface, which would make unrelated services fail.

  ---

  To reproduce:
  - Download ubuntu-12.04-alternate-amd64.iso, sha256sum: 
f8d54df0afbab6a6248f6e2bcab3e68f01c04d52b0bb1f889d880ad3bc881ccb
  - Burn it to a USB flash drive from a completely up-to-date Ubuntu 10.04 LTS 
with UNetbootin
  - Install on a machine with both IPv4 and IPv6 connectivity
  - Log in to the newly installed system

  Current behaviour:
  - There is no IPv4 connectivity
  - NetworkManager doesn't show the wired interface in its dropdown

  Expected behaviour:
  - There is IPv4 connectivity
  - NetworkManager does show the wired interface in its dropdown

  Thoughts:
  I suspect this is because during the install my /etc/network/interfaces was 
created like so:
  ---BEGINS---
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  auto eth0
  iface eth0 inet dhcp
  # This is an autoconfigured IPv6 interface
  iface eth0 inet6 auto
  ---ENDS---

  Then network-manager-0.9.4.0/debian/ifblacklist_migrate.sh mutates the file 
to comment out a single line like so:
  #NetworkManager#iface eth0 inet dhcp

  i.e. the line
  iface eth0 inet6 auto
  remains intact

  This means that the /etc/network/interfaces file gives me IPv6
  connectivity but not IPv4 connectivity.  Furthermore, because there is
  an uncommented iface eth0 inet6 line, NetworkManager doesn't show me
  the interface in its dropdown.

  To fix:
  - The regular expression needs to be changed so that the iface eth0 inet6 
auto line is also commented out

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/995165/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to