[Pkg-utopia-maintainers] Bug#767068: network-manager: dnsmasq setup with shared connections is incompatible with dns=none and dns=unbound

Paul Wise pabs at debian.org
Tue Oct 28 08:51:09 UTC 2014


Package: network-manager
Version: 0.9.10.0-3
Severity: normal

I use a local DNS resolver (unbound, currently with dns=none) and I also
occasionally share my WiFi with other computers via an Ethernet port.
Unfortunately NetworkManager runs dnsmasq without the -p/--port
parameter so I can't use unbound and dnsmasq at the same time as unbound
is already occupying the DNS port and so the connection will not start.
For now I am dpkg-diverting dnsmasq and using the workaround below but
it would be nice to not have to hack around this.

http://sources.debian.net/src/network-manager/latest/src/dnsmasq-manager/nm-dnsmasq-manager.c/#L247

#!/bin/sh
# pabs hack to make dnsmasq work with unbound
exec dnsmasq.distrib --port=0 "$@"

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages network-manager depends on:
ii  adduser                3.113+nmu3
ii  dbus                   1.8.8-2
ii  init-system-helpers    1.21
ii  isc-dhcp-client        4.3.1-4
ii  libc6                  2.19-11
ii  libdbus-1-3            1.8.8-2
ii  libdbus-glib-1-2       0.102-1
ii  libgcrypt20            1.6.2-3
ii  libglib2.0-0           2.42.0-2
ii  libgnutls-deb0-28      3.3.8-3
ii  libgudev-1.0-0         215-5+b1
ii  libmm-glib0            1.4.0-1
ii  libndp0                1.4-2
ii  libnewt0.52            0.52.17-1
ii  libnl-3-200            3.2.24-2
ii  libnl-genl-3-200       3.2.24-2
ii  libnl-route-3-200      3.2.24-2
ii  libnm-glib4            0.9.10.0-3
ii  libnm-util2            0.9.10.0-3
ii  libpam-systemd         215-5+b1
ii  libpolkit-gobject-1-0  0.105-7
ii  libreadline6           6.3-8
ii  libsoup2.4-1           2.48.0-1
ii  libsystemd0            215-5+b1
ii  libteamdctl0           1.12-1
ii  libuuid1               2.25.1-5
ii  lsb-base               4.1+Debian13
ii  policykit-1            0.105-7
ii  udev                   215-5+b1
ii  wpasupplicant          2.3-1

Versions of packages network-manager recommends:
ii  crda          3.13-1
ii  dnsmasq-base  2.72-2
ii  iptables      1.4.21-2
ii  modemmanager  1.4.0-1
ii  ppp           2.4.6-3

Versions of packages network-manager suggests:
ii  avahi-autoipd  0.6.31-4
pn  libteam-utils  <none>

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

[ifupdown]
managed=false

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20141028/3d0fc225/attachment-0001.sig>


More information about the Pkg-utopia-maintainers mailing list