diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-02-27 16:09:59 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-31 14:55:17 +0200 |
commit | 10bace983699ca068f985f39719f60901fa9de8f (patch) | |
tree | 633824f2a6895d6807ec05b5bf6c53b3ad22789a /meta-networking | |
parent | e5681e1dca96d3f313b3b2b346789f22483d7881 (diff) | |
download | meta-openembedded-contrib-10bace983699ca068f985f39719f60901fa9de8f.tar.gz |
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@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com<mailto:jackie.huang@windriver.com>>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-support/dnsmasq/dnsmasq.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/dnsmasq/dnsmasq.inc b/meta-networking/recipes-support/dnsmasq/dnsmasq.inc index ef79c5f822..3d0386b97a 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" |