[Pkg-utopia-maintainers] Bug#1031539: network-manager: NM since 1.42.0-1 overwrites pre-existing dns-search entries

Christoph Anton Mitterer calestyo at scientia.org
Sat Feb 18 01:05:27 GMT 2023


Package: network-manager
Version: 1.42.0-1
Severity: normal

Hey.

Just wanted to file this as a bug against ifupdown, but while writing I found out
that actually the upgrade from 1.40.10-1 to 1.42.0-1 causes this:

Ssince around the 10th of Feburary (and I've updated NM on the 11th) my dns-search
doesn't get added to resolvconf anymore.

Since years I have in /etc/network/interfaces:
   iface lo inet loopback
           dns-search      scientia.org

And while I also keep eth/wlan config in it, it's not enabled per default but
NetworkManager is used for that (because of the GUI stuff - talking about a laptop
here). So I have:
   allow-auto      lo
   #allow-hotplug  eth0 wlan0

So ifupdown does basically nothing, except for being there in case NM should have
troubles ... and setting my personal dns-search.
I also use the resolvconf package.

My DHCP sends me an additional fritz.box for the dns-search, which I fail to block ^^
But despite all this, for many years, my own dns-search was always added, too.
Now only the fritz.box remains.



It seems, that since 1.42.0-1 NM no longer just appends its own dns-search domains
(i.e. fritz.box) but also clears out any that are already there.
Downgrading "fixes" that.


Though it's of course arguable, whether this behaviour is actually proper or not.


Anyway... you guys know probably better if that's a desired change or some bug.
If the former, it would perhaps be nice if a NEWS.Debian entry could be added?


Thanks,
Chris.



-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
merged-usr: no
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-4-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                         3.131
ii  dbus [default-dbus-system-bus]  1.14.6-1
ii  libaudit1                       1:3.0.9-1
ii  libbluetooth3                   5.66-1
ii  libc6                           2.36-8
ii  libcurl3-gnutls                 7.87.0-2
ii  libglib2.0-0                    2.74.5-1
ii  libgnutls30                     3.7.8-5
ii  libjansson4                     2.14-2
ii  libmm-glib0                     1.20.4-1
ii  libndp0                         1.8-1
ii  libnewt0.52                     0.52.23-1+b1
ii  libnm0                          1.42.0-1
ii  libpsl5                         0.21.2-1
ii  libreadline8                    8.2-1.3
ii  libselinux1                     3.4-1+b5
ii  libsystemd0                     252.5-2
ii  libteamdctl0                    1.31-1
ii  libudev1                        252.5-2
ii  policykit-1                     122-3
ii  polkitd                         122-3
ii  udev                            252.5-2

Versions of packages network-manager recommends:
ii  dnsmasq-base [dnsmasq-base]  2.89-1
ii  libpam-systemd               252.5-2
pn  modemmanager                 <none>
ii  ppp                          2.4.9-1+1.1+b1
ii  wireless-regdb               2022.06.06-1
ii  wpasupplicant                2:2.10-11

Versions of packages network-manager suggests:
ii  iptables       1.8.9-2
pn  libteam-utils  <none>

Versions of packages network-manager is related to:
ii  isc-dhcp-client  4.4.3-P1-1.1

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=keyfile
[ifupdown]
managed=true


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list