[Pkg-utopia-maintainers] Bug#867022: network-manager: dnsmasq plugin does not use dnsmasq configuration

Ritesh Raj Sarraf rrs at debian.org
Mon Jul 3 13:12:22 UTC 2017


Package: network-manager
Version: 1.8.0-5
Severity: normal

I just noticed that NM has a plugin model where I could define something
like dnsmasq as a plugin. When using it as a plugin, I noticed that my
dnsmasq configuration settings were being ignored.

Upon further looking, I see:

nobody   17406  0.0  0.0  53856  4124 ?        S    18:42   0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/run/NetworkManager/dnsmasq.pid --listen-address=127.0.0.1 --cache-size=400 --clear-on-reload --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d

NM asks dnsmasq to only look into its separate configuration directory.
Is this intentionally being done ? Adding my dnsmasq settings at this
location makes things work again.

Since NM spawned dnsmasq is using the system-wide port, should it not
also honor dnsmasq's system-wide settings ?


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

Kernel: Linux 4.10.17+ (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages network-manager depends on:
ii  adduser                3.115
ii  dbus                   1.10.20-1
ii  init-system-helpers    1.48
ii  libaudit1              1:2.7.7-1+b1
ii  libbluetooth3          5.43-2
ii  libc6                  2.24-12
ii  libcurl3-gnutls        7.52.1-5
ii  libglib2.0-0           2.52.3-1
ii  libgnutls30            3.5.13-2
ii  libjansson4            2.9-1
ii  libmm-glib0            1.6.8-1
ii  libndp0                1.6-1+b1
ii  libnewt0.52            0.52.20-1+b1
ii  libnl-3-200            3.2.27-2
ii  libnm0                 1.8.0-5
ii  libpam-systemd         233-9
ii  libpolkit-agent-1-0    0.105-18
ii  libpolkit-gobject-1-0  0.105-18
ii  libpsl5                0.17.0-4
ii  libreadline7           7.0-3
ii  libselinux1            2.6-3+b2
ii  libsystemd0            233-9
ii  libteamdctl0           1.26-1+b1
ii  libudev1               233-9
ii  libuuid1               2.29.2-1
ii  lsb-base               9.20161125
ii  policykit-1            0.105-18
ii  udev                   233-9
ii  wpasupplicant          2:2.4-1

Versions of packages network-manager recommends:
ii  crda             3.18-1
ii  dnsmasq-base     2.77-2
ii  iptables         1.6.1-2
ii  iputils-arping   3:20161105-1
ii  isc-dhcp-client  4.3.5-3
ii  modemmanager     1.6.8-1
ii  ppp              2.4.7-1+4

Versions of packages network-manager suggests:
pn  libteam-utils  <none>

-- Configuration Files:
/etc/NetworkManager/NetworkManager.conf changed:
[main]
plugins=ifupdown,keyfile
dns=dnsmasq
[ifupdown]
managed=false


-- no debconf information



More information about the Pkg-utopia-maintainers mailing list