[Pkg-utopia-maintainers] Bug#751594: Bug#751594: network-manager: dnsmasq incompatible with network manager and systemd

Vincent Bernat bernat at debian.org
Sat Jun 14 20:30:58 UTC 2014


 ❦ 14 juin 2014 21:54 +0200, Michael Biebl <biebl at debian.org> :

>>>> Ubuntu ships a patch for network manager to use dnsmasq dbus interface
>
> Do you by chance have a link to the patch?
> What is network-manager doing if dnsmasq is not running, i.e. if the
> dnsmasq package is not installed or the service has been disabled?
> Will it still start the dnsmasq binary manually then, bail out with an
> error message or simply continue?

I have put the patch here:
 http://paste.debian.net/105005/

So, NetworkManager checks if somebody is listening to the right DBus
address. With Debian and systemd, since dnsmasq is DBus enabled, it will
be started at this point. Otherwise, the patch also tries to run dnsmasq
itself.

Then, there is another patch to use a "private" DBus name to avoid using
dnsmasq from the system I suppose. The relevant entry is here:

network-manager (0.9.6.0-0ubuntu4) quantal; urgency=low

  * debian/patches/dns-dnsmasq-interface-and-dbus-path.patch: set the address
    dnsmasq (and bind) plugins should listen on for DNS resolution to 127.0.1.1,
    as opposed to 127.0.0.1 to avoid conflicts with other instances that might
    need to run on the system with that address.
    Also set the dnsmasq DBus service name to our own custom name:
    org.freedesktop.NetworkManager.dnsmasq, which will also avoid conflicting
    with other dnsmasq instances which might have --enable-dbus enabled.
    (LP: #1034946)

 -- Mathieu Trudel-Lapierre <mathieu-tl at ubuntu.com>  Tue, 21 Aug 2012 11:45:46 -0400

Maybe Mathieu (in copy) can tell us if this has been forwarded upstream.

The patch is here:
 http://paste.debian.net/105007/
-- 
panic("Aarggh: attempting to free lock with active wait queue - shoot Andy");
	2.0.38 /usr/src/linux/fs/locks.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20140614/e9887331/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list