[oe-commits] [meta-openembedded] 08/09: dnsmasq: disable the service by default

git at git.openembedded.org git at git.openembedded.org
Tue Feb 28 11:39:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit 0f1d882614d237d8672db032fb48feece14cbe1a
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Mon Feb 27 16:09:59 2017 +0800

    dnsmasq: disable the service by default
    
    The service will fail to start/stop when dnsmasq and
    bind (provides named) are both installed since they
    are using the same port 53:
    
    | dnsmasq: failed to create listening socket for port 53: Address already in use
    
    So disable the service by default, if the user really
    want to use two dns servives, the config needs to be
    changed to use different interfaces or ports.
    
    As reference, other distro like centos/fedora also
    disables the services by default on installation.
    
    Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
    Signed-off-by: Jackie Huang <jackie.huang at windriver.com<mailto:jackie.huang at windriver.com>>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-networking/recipes-support/dnsmasq/dnsmasq.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
index 424a06b..9c2276f 100644
--- a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
+++ b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc
@@ -81,3 +81,4 @@ RPROVIDES_${PN} += "${PN}-systemd"
 RREPLACES_${PN} += "${PN}-systemd"
 RCONFLICTS_${PN} += "${PN}-systemd"
 SYSTEMD_SERVICE_${PN} = "dnsmasq.service"
+SYSTEMD_AUTO_ENABLE ?= "disable"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list