From 6efed559a73c9534943f43f983c745e3cf5f091e Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 24 Oct 2017 09:56:34 -0500 Subject: New dnsmasq fixing CVE-2017-13704, 14491-14496 --- .../dnsmasq/files/dnsmasq-noresolvconf.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service (limited to 'recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service') diff --git a/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service b/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service new file mode 100644 index 0000000..0c64fab --- /dev/null +++ b/recipes-support/dnsmasq/files/dnsmasq-noresolvconf.service @@ -0,0 +1,15 @@ +[Unit] +Description=DNS forwarder and DHCP server +After=network.target + +[Service] +Type=forking +PIDFile=/run/dnsmasq.pid +ExecStartPre=/usr/bin/dnsmasq --test +ExecStart=/usr/bin/dnsmasq -x /run/dnsmasq.pid -7 /etc/dnsmasq.d --local-service +ExecStop=/bin/kill $MAINPID +ExecReload=/bin/kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3