← Back to team overview

desktop-packages team mailing list archive

[Bug 839836] Re: resolv.conf empty when running in debug

 

*** This bug is a duplicate of bug 862134 ***
    https://bugs.launchpad.net/bugs/862134

I've got the same problem.  I tried some recommended work-around like adding
this line to /etc/dhcp/dhclient.conf

prepend domain-name-servers <dns-server-ip-addr-1> <addr-2>

However,

sudo service network-manager restart 
just wipes out the contents of /etc/resolv.conf.  No go.  

Is apt-get remove --purge network-manager the recommended work-around?

I'd hate to think there are Ubuntu 11.10 dependencies on this GUI-oriented 
application - but since it ignores existing system configuration files - and since 
it overwrites any direct edits of those files ... things are getting scary.  

Would switching to Ubuntu server be best for user-controlled desktops?
I'm reticent to put Network-Manager in charge.  Network-manager SUCKS!

-- 
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/839836

Title:
  resolv.conf empty when running in debug

Status in “network-manager” package in Ubuntu:
  Confirmed

Bug description:
  When running network manager in debug mode, the resolv.conf stays
  empty:

  jean-louis@laptop-jl:~$ cat /etc/resolv.conf 
  # Generated by NetworkManager

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: network-manager 0.9.0-0ubuntu2
  ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  Architecture: amd64
  CRDA: Error: [Errno 2] Bestand of map bestaat niet
  Date: Fri Sep  2 21:20:28 2011
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110705.1)
  IpRoute:
   default via 192.168.3.1 dev eth0  proto static 
   169.254.0.0/16 dev eth0  scope link  metric 1000 
   192.168.3.0/24 dev eth0  proto kernel  scope link  src 192.168.3.127 
   192.168.3.0/24 dev wlan0  proto kernel  scope link  src 192.168.3.101 
   192.168.122.0/24 dev virbr0  proto kernel  scope link  src 192.168.122.1
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   PATH=(custom, no user)
   LANG=nl_BE.UTF-8
   SHELL=/bin/bash
  SourcePackage: network-manager
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References