Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609710 - net-misc/networkmanager[connection-sharing] should require net-dns/dnsmasq[dbus]
Summary: net-misc/networkmanager[connection-sharing] should require net-dns/dnsmasq[dbus]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-18 12:12 UTC by Ostashevskyi Viktor
Modified: 2017-05-27 22:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ostashevskyi Viktor 2017-02-18 12:12:25 UTC
Things changed since https://bugs.gentoo.org/show_bug.cgi?id=475760#c3

Currently NetworkManager uses DBus to communicate with dnsmasq, see nm-dns-dnsmasq.c:

#define DNSMASQ_DBUS_SERVICE "org.freedesktop.NetworkManager.dnsmasq"                                                                 
#define DNSMASQ_DBUS_PATH "/uk/org/thekelleys/dnsmasq"

...

static void                                                                                                                           
start_dnsmasq (NMDnsDnsmasq *self)                                                                                                    
{
...
       argv[idx++] = dm_binary;                                                                                                      
        argv[idx++] = "--no-resolv";  /* Use only commandline */                                                                      
        argv[idx++] = "--keep-in-foreground";                                                                                         
        argv[idx++] = "--no-hosts"; /* don't use /etc/hosts to resolve */                                                             
        argv[idx++] = "--bind-interfaces";                                                                                            
        argv[idx++] = "--pid-file=" PIDFILE;                                                                                          
        argv[idx++] = "--listen-address=127.0.0.1"; /* Should work for both 4 and 6 */                                                
        argv[idx++] = "--cache-size=400";                                                                                             
        argv[idx++] = "--conf-file=/dev/null"; /* avoid loading /etc/dnsmasq.conf */                                                  
        argv[idx++] = "--proxy-dnssec"; /* Allow DNSSEC to pass through */                                                            
        argv[idx++] = "--enable-dbus=" DNSMASQ_DBUS_SERVICE;

...
}
Comment 1 Mike Gilbert gentoo-dev 2017-05-27 22:06:37 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438ba1eca22582b37af7f6665db8b41e0ecbf6e3

commit 438ba1eca22582b37af7f6665db8b41e0ecbf6e3
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat May 27 18:06:01 2017 -0400

    net-misc/networkmanager: depend on dnsmasq[dbus]
    
    Bug: https://bugs.gentoo.org/609710
    Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 net-misc/networkmanager/networkmanager-1.4.4-r1.ebuild | 2 +-
 net-misc/networkmanager/networkmanager-1.8.0.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)