[oe-commits] [meta-openembedded] 02/73: dnsmasq: disable the service by default
git at git.openembedded.org
git at git.openembedded.org
Sat May 27 09:22:07 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 f85506e942e71ed8c4d76f2bb810a961854b9f02
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 ef79c5f..3d0386b 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