[Pkg-utopia-maintainers] Bug#642191: network-manager: On upgrade/restart, resolv.conf is overwritten with empty file

Hilko Bengen bengen at debian.org
Tue Sep 20 06:48:14 UTC 2011


Package: network-manager
Version: 0.9.0-2
Severity: critical

On my workstation, I have a fairly trivial network setup that just used
to work:

,----[ /etc/network/interfaces ]
| auto lo eth1
| 
| iface lo inet loopback
| 
| iface eth1 inet dhcp
| 	hostname ataraxia
`----

isc-dhcp-client is installed. When ifup is called, the DNS information
from the DHCP server is correctly written to /etc/resolv.conf (At the
moment, I am not entirely sure what component is responsible for this on
my system, but I have been able to reproduce it by calling ifdown eth1;
ifup eth1.)

When network-manager was upgraded to 0.9.0-2 last night, the daemon was
restarted and in the process overwrote /etc/resolv.conf with the
following single line:

,----
| # Generated by NetworkManager
`----

As one may expect, this breaks DNS for the machine. I am filing this bug
as critical because I consider this behavior as making "unrelated
software on the system (or the whole system) break".

The output of "grep NetworkManager" over yesterday's syslog is attached.
I hope it will be useful.

Cheers,
-Hilko

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

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.113      
ii  dbus                   1.4.14-1   
ii  isc-dhcp-client        4.1.1-P1-17
ii  libc6                  2.13-21    
ii  libdbus-1-3            1.4.14-1   
ii  libdbus-glib-1-2       0.94-4     
ii  libgcrypt11            1.5.0-3    
ii  libglib2.0-0           2.28.6-1   
ii  libgnutls26            2.12.10-2  
ii  libgudev-1.0-0         172-1      
ii  libnl1                 1.1-7      
ii  libnm-glib4            0.9.0-2    
ii  libnm-util2            0.9.0-2    
ii  libpolkit-gobject-1-0  0.102-1    
ii  libuuid1               2.19.1-5   
ii  lsb-base               3.2-28     
ii  udev                   172-1      
ii  wpasupplicant          0.7.3-3.1  

Versions of packages network-manager recommends:
ii  dnsmasq-base  2.58-3  
ii  iptables      1.4.12-1
ii  modemmanager  <none>  
ii  policykit-1   0.102-1 
ii  ppp           2.4.5-5 

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.30-5

-- no debconf information
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nm.log
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20110920/e1b496a2/attachment-0001.ksh>


More information about the Pkg-utopia-maintainers mailing list