[Pkg-utopia-maintainers] Bug#508861: network-manager: /etc/resolv.conf is empty at boot

Drew Parsons dparsons at debian.org
Tue Dec 16 00:24:14 UTC 2008


Package: network-manager
Version: 0.7.0~svn4191-1
Severity: normal

I use network-manager for my laptop, managing switching between
wireless and wired and between fixed (work/home) and dhcp (roaming).

I'm finding that when I boot up, network-manager is "started" and the
interface is brought up (ifconfig shows eth0), set for example to the
last static IP which was active when I shut the computer down the
previous night.  But /etc/resolv.conf is unconfigured. resolvconf is
installed, with the symlink existing:

$ ls -l /etc/resolv.conf 
lrwxrwxrwx 1 root root 31 2008-12-05 17:05 /etc/resolv.conf ->
/etc/resolvconf/run/resolv.conf
$ cat /etc/resolv.conf 
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
$

In order to get network-manager populating resolv.conf, I need to
start the Network Settings tool (System->Administration->Network in
the Gnome menu) and click explicitly on the saved location (even
though its settings are already in place in the Connections tab).
Simply restarting the connection (clicking the tick-box off and on
again) is not enough. Only reselecting the Location gets the job done.

I pulled network-manager 0.7 beta from experimental - I need the WPA
wireless support. I suspect the resolv.conf problems started
after this but I'm not completely sure.

I'm not sure if this is related to Ubuntu Bug #256480 or not,
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/256480

Or is network-manager tripping over Debian bug #408292, ignoring a
"static" ip configuration even thought it set it up itself?  I'm
filing this as a bug separated to #408292 since I did use
network-manager to configure the static ip (which I need to be able to
switch on and off depending on where I take my laptop).

Let me know which further information you need me to provide.

Drew

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.27.7 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.110             add and remove users and groups
ii  dbus                   1.2.1-4           simple interprocess messaging syst
ii  hal                    0.5.11-6          Hardware Abstraction Layer
ii  ifupdown               0.6.8+nmu1        high level tools to configure netw
ii  libc6                  2.7-15            GNU C Library: Shared libraries
ii  libdbus-1-3            1.2.1-4           simple interprocess messaging syst
ii  libdbus-glib-1-2       0.76-1            simple interprocess messaging syst
ii  libgcrypt11            1.4.1-1           LGPL Crypto library - runtime libr
ii  libglib2.0-0           2.16.6-1          The GLib library of C routines
ii  libgnutls26            2.4.2-1           the GNU TLS library - runtime libr
ii  libgpg-error0          1.4-2             library for common error values an
ii  libhal1                0.5.11-6          Hardware Abstraction Layer - share
ii  libnl1                 1.1-3             library for dealing with netlink s
ii  libnm-glib0            0.7.0~svn4191-1   network management framework (GLib
ii  libnm-util0            0.7.0~svn4191-1   network management framework (shar
ii  libpolkit-dbus2        0.9-1             library for accessing PolicyKit vi
ii  libpolkit2             0.9-1             library for accessing PolicyKit
ii  libtasn1-3             1.5-1             Manage ASN.1 structures (runtime)
ii  libuuid1               1.41.3-1          universally unique id library
ii  lsb-base               3.2-20            Linux Standard Base 3.2 init scrip
ii  wpasupplicant          0.6.5-2           client support for WPA and WPA2 (I
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages network-manager recommends:
ii  network-manager-gnome     0.7.0~svn953-1 network management framework (GNOM
ii  policykit                 0.9-1          framework for managing administrat

Versions of packages network-manager suggests:
ii  avahi-autoipd                 0.6.23-2   Avahi IPv4LL network address confi

-- no debconf information





More information about the Pkg-utopia-maintainers mailing list