← Back to team overview

desktop-packages team mailing list archive

[Bug 867833] Re: Network Manager overwriting /etc/resolv.conf with no information when static IP configured for ipv4

 

There has been an update since this package was released which should
workaround that particular issue for most cases. Please see if you're
still having issue with your setup (once you've made sure you're using
the most up to date packages as available in oneiric-updates):

network-manager (0.9.1.90-0ubuntu5) oneiric-proposed; urgency=low

  * debian/patches/fix_reading_intlist-like_ssids_965d586.patch: Fix numeric
    SSIDs parsing; if there is no semicolon, except the file is in new format
    (so just a valid, all-nums SSID rather than a integer list). (LP: #874328)
  * debian/patches/lp862134_resolv_conf_updates.patch: don't update routing
    and DNS for unmanaged devices or devices transitioning to unmanaged; in an
    attempt to keep possibly correct resolv.conf contents and routes.
    (LP: #862134)


Then report back here if you're still having issues; for now I'll close this bug as Fix Released, even though there are some corner cases which may not work properly even with the patch above.

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

Title:
  Network Manager overwriting /etc/resolv.conf with no information when
  static IP configured for ipv4

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

Bug description:
  After a reboot, /etc/resolv.conf is blank and only contains the line

  # Generated by NetworkManager

  The computer is configured for a static IP address using (in XFCE)
  Settings -> Network Connections and contains a valid DNS entry.

  In order for the computer to access the internet, I must edit /etc/resolv.conf and insert
  nameserver 8.8.8.8

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.9.1.90-0ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-10.16-server 3.0.4
  Uname: Linux 3.0.0-10-server x86_64
  ApportVersion: 1.23-0ubuntu2
  Architecture: amd64
  CRDA: Error: [Errno 2] No such file or directory
  Date: Tue Oct  4 14:48:03 2011
  Gconf:
   
  InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
  IpRoute:
   default via 192.168.10.1 dev eth0  metric 100 
   169.254.0.0/16 dev eth0  scope link  metric 1000 
   192.168.10.0/24 dev eth0  proto kernel  scope link  src 192.168.10.11
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  Keyfiles: Error: [Errno 2] No such file or directory
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  ProcEnviron:
   SHELL=/bin/bash
   LANG=en_US.UTF-8
  RfKill:
   
  SourcePackage: network-manager
  UpgradeStatus: Upgraded to oneiric on 2011-09-05 (29 days ago)

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


References