Your message dated Fri, 03 Mar 2023 17:20:37 +0000
with message-id <[email protected]>
and subject line Bug#1031891: fixed in network-manager 1.42.2-2
has caused the Debian Bug report #1031891,
regarding network-manager: dnsmasq fails to get upstream DNS servers from DBus
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1031891: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031891
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: network-manager
Version: 1.42.2-1
Severity: normal

Dear Maintainer,

I use network-manager + dnsmasq on my laptop to give DHCP & DNS resolution to local virtual machines.

In a file in /etc/NetworkManager/conf.d, I have set
[main]
dns=dnsmasq

In a file in /etc/NetworkManager/dnsmasq.d, I have set
strict-order
interface=br0
dhcp-no-override
dhcp-authoritative
dhcp-range=192.168.113.100,192.168.113.254,255.255.255.0
dhcp-range=fc00:071::,ra-only

$ cat /etc/resolv.conf
# Generated by NetworkManager
search friry.net
nameserver 127.0.0.1
options edns0 trust-ad

Until version 1.40.10-1 of network-manager, it worked. VM & hosts called dnsmasq on 127.0.0.1:53, and dnsmasq called upstream server (provided by DHCP from Wifi AP).

Since upgrade to 1.42.0-1 (also tested on 1.42.2-1), resolution fails.

$ dig www.google.com @127.0.0.1

; <<>> DiG 9.18.11-2-Debian <<>> www.google.com @127.0.0.1
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 13869
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; EDE: 14 (Not Ready)
;; QUESTION SECTION:
;www.google.com. IN A

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1) (UDP)
;; WHEN: Fri Feb 24 19:20:53 CET 2023
;; MSG SIZE rcvd: 49

dig www.google.com @<Wifi AP DNS IPv4> correctly resolves address.

After some investigation, I saw "warning: no upstream servers "configured" in NetworkManager journal.

In journal, I see server configuration from DBus regularly and each time the wifi is restarted, without any change.

$ nmcli dev show|grep DNS
IP4.DNS[1]: os
IP6.DNS[1]: <Wifi AP DNS IPv6>

$ env -i gdbus introspect -y -o /org/freedesktop/NetworkManager/IP4Config/5 \
-d org.freedesktop.NetworkManager
shows <Wifi AP DNS IPv4> in "aa{sv} NameserverData" field.

So, it seems DNS upstream server is available via DBus, but dnsmasq cannot get it anymore.

Thanks,
Benoit


-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr:en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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.2-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
ii modemmanager 1.20.4-1
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

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: network-manager
Source-Version: 1.42.2-2
Done: Michael Biebl <[email protected]>

We believe that the bug you reported is fixed in the latest version of
network-manager, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated network-manager package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 03 Mar 2023 17:57:30 +0100
Source: network-manager
Architecture: source
Version: 1.42.2-2
Distribution: unstable
Urgency: medium
Maintainer: Utopia Maintenance Team 
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Closes: 1031891
Changes:
 network-manager (1.42.2-2) unstable; urgency=medium
 .
   * dnsmasq: process both global and per-device configuration.
     Cherry-pick upstream patch to fix a regression introduced in 1.42 when
     using the dnsmasq DNS backend and a global DNS configuration.
     (Closes: #1031891)
Checksums-Sha1:
 8033c5d98a0ae89c4ede9f80e59e1ccdb969bd25 3035 network-manager_1.42.2-2.dsc
 f014821c0831cba4485350beb537e7e280509cbd 49316 
network-manager_1.42.2-2.debian.tar.xz
 d5ad3c9cf05e504ad6f73d70061e604a07389a5a 8520 
network-manager_1.42.2-2_source.buildinfo
Checksums-Sha256:
 bfaec0f8155ab304efef1bfd2b230c1899d482a3a490ec8ec5aca134031040f2 3035 
network-manager_1.42.2-2.dsc
 fc1c56f7daf7064af1ff77b12f889cada847998c3a5521be83d0fe92ac8c1eaf 49316 
network-manager_1.42.2-2.debian.tar.xz
 50fbd4ce7546d81c7aaced34c6a1855441550c5ee55a8229cd946040b2185ced 8520 
network-manager_1.42.2-2_source.buildinfo
Files:
 e8514026fa5d870936ae965ab51cc939 3035 net optional network-manager_1.42.2-2.dsc
 f7d1eda0fbe86a157357c1cd1c61739d 49316 net optional 
network-manager_1.42.2-2.debian.tar.xz
 e3aeb7e6405286d23ee67b3e6d9cdfeb 8520 net optional 
network-manager_1.42.2-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECbOsLssWnJBDRcxUauHfDWCPItwFAmQCJ0QACgkQauHfDWCP
ItwFCg/6AyTLzq9wzxAKUx6wLwU3S4m8qyGl+8e6wo5lm7geZ278/qgyGxTsNez9
Sy3jAN26oMzGx1R4G6eseBpooBZHJHHyYp1sli84Z8Ym5rQCFQRYNApNCxnOieKS
xcxFUBhW/XFFWUdE2ha+JeaICKKbvyed0+bKOm5fq7ube9D4LBgtrzj23k1ypAe2
njMoG3i14Ss3fJuMUDA5JPKPzE+Woex6/t/HLhzDOzjdXiQDwtUbr56Fj99iujDO
8X4oJKW4sC0KpeIRrSxpp58+tKyXipMD0FjkukOV7FaNmjuVh/olCJ9zsqMotv/6
GVl96ZRooXqcVkivwOzAkzuqkzTmuDZv1vehcXHMYz+OmYRpXOLATsxQGoYAaphy
NBKDFeImwWHkJsXrFDHSSNMSf4zKNHQjPNlTckGL2Lb+esdvsqdOcQkCiBOf/J7u
pxUybEJJIDsq/1Vjg9guwMgdizWEUER2ugPUjaHcHAKCOVhs9XXUna6D/fqKIH3v
+eKMAZ/QKPz+GlHad7kw6DF5VLYt6+JJDoh74PFJX9oKrviC2SWcG3x8IfEwP3Fe
b9c+dvO+GJq1zqQnYPa0/etnvOtz4a8/oR/hx5ht4Z8yesiaAJCVkI461Q240nrT
5RiVBFcPPX2F3vlXH1K8dNUPXB+3oa34EqhBqIpM+2WMKJwO3+Q=
=uC2+
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to