Fixed in Precise.

** Changed in: network-manager (Ubuntu)
       Status: New => 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/784715

Title:
  network-manager loses DNS configuration in resolv.conf when switching
  connection types

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

Bug description:
  Binary package hint: network-manager

  When changing network connection types from UMTS ("Mobile Broadband")
  to Ethernet by first establishing the new connection and then dropping
  the other connection, network-manager will overwrite /etc/resolv.conf
  with a version that does not include any DNS servers.

  == Steps to reproduce ==
  0. Prerequisites: Laptop with UMTS and Ethernet connections, available UMTS 
connection details, available Ethernet connection.
  1. Disconnect all network interfaces.
  2. Connect to the UMTS connection (in the network-manager indicator).
  3. Look at /etc/resolv.conf
  4. Connect to the Ethernet connection (e.g. physically plug in the Ethernet 
cable).
  5. Look at /etc/resolv.conf
  6. Disconnect the UMTS connection (in the network-manager indicator).
  7. Look at /etc/resolv.conf

  == Actual results ==
  Step 3 shows the DNS servers of the UMTS network. Step 5 shows both the DNS 
servers of the Ethernet (listed first) and UMTS connections. Step 7 shows no 
DNS servers:

  --snip
  # Generated by NetworkManager
  search ploetzli.ch
  --snap

  Since no DNS servers are entered in /etc/resolv.conf, name resolution
  is non-functional and can only be restored by disconnecting and
  reconnecting the Ethernet connection.

  == Expected results ==
  Step 7 should show the DNS server of the Ethernet connection.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: network-manager 0.8.4~git.20110319t175609.d14809b-0ubuntu3
  ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
  Uname: Linux 2.6.38-8-generic x86_64
  Architecture: amd64
  Date: Wed May 18 18:24:05 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  IpRoute:
   192.168.5.0/24 dev eth0  proto kernel  scope link  src 192.168.5.160  metric 
1 
   172.16.128.0/24 dev vmnet8  proto kernel  scope link  src 172.16.128.1 
   192.168.65.0/24 dev vmnet1  proto kernel  scope link  src 192.168.65.1 
   192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1 
   default via 192.168.5.1 dev eth0  proto static
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=false
  ProcEnviron:
   LANGUAGE=en_GB:en
   LANG=de_DE.utf8
   LC_MESSAGES=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: network-manager
  UpgradeStatus: Upgraded to natty on 2011-05-05 (13 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/784715/+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