[Pkg-utopia-maintainers] Bug#973701: network-manager: 'systemctl restart ModemManager.service' wipes /etc/resolve.conf (almost) clean

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Tue Nov 3 15:45:26 GMT 2020


Package: network-manager
Version: 1.27.91-1
Severity: grave

/etc/resolve.conf includes the expected configuration (WRT
nameservers) on bootup.

After upgrading network-manager and restarting it, /etc/resolve.conf
(which is a symlink to /run/NetworkManager/resolv.conf) is basically
wiped out.  Includes only this:

	# Generated by NetworkManager

Rebooting brings things to normal.  Still, this isn't wintendo.  I'd
expect better.

There are some workarounds (suggested in some other bug reports) that
bring the system back to an usable state, but far away from perfect 
(dhclient wlan0).  Duplicated home router nameserver addresses in 
/etc/resolv.conf:

	nameserver 192.168.0.1
	nameserver 192.168.0.1

which is not what my configuration is.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (99, 'unstable'), (59, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages network-manager depends on:
ii  adduser          3.118
ii  dbus             1.12.20-1
ii  libaudit1        1:2.8.5-3.1
ii  libbluetooth3    5.55-1
ii  libc6            2.31-4
ii  libcurl3-gnutls  7.72.0-1
ii  libglib2.0-0     2.66.1-2
ii  libgnutls30      3.6.15-4
ii  libjansson4      2.13.1-1
ii  libmm-glib0      1.14.6-0.1
ii  libndp0          1.6-1+b1
ii  libnewt0.52      0.52.21-4+b2
ii  libnm0           1.27.91-1
ii  libpam-systemd   246.6-2
ii  libpsl5          0.21.0-1.1
ii  libreadline8     8.0-4
ii  libselinux1      3.1-2+b1
ii  libsystemd0      246.6-2
ii  libteamdctl0     1.31-1
ii  libudev1         246.6-2
ii  libuuid1         2.36-3+b2
ii  policykit-1      0.105-29
ii  udev             246.6-2
ii  wpasupplicant    2:2.9.0-15

Versions of packages network-manager recommends:
ii  crda                         4.14+git20191112.9856751-1
ii  dnsmasq-base [dnsmasq-base]  2.82-1
ii  iptables                     1.8.5-3
ii  modemmanager                 1.14.6-0.1
pn  ppp                          <none>

Versions of packages network-manager suggests:
ii  isc-dhcp-client  4.4.1-2.1+b2
pn  libteam-utils    <none>

-- no debconf information


Cheers,

-- 
Cristian



More information about the Pkg-utopia-maintainers mailing list