DietPi-Software | PiHole: dnsmasq fails to run

Created on 17 Feb 2018  ·  15Comments  ·  Source: MichaIng/DietPi

http://dietpi.com/phpbb/viewtopic.php?f=11&t=2855&p=10985#p10982

root@DietPi:~# systemctl status dnsmasq -l
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled)
  Drop-In: /run/systemd/generator/dnsmasq.service.d
           └─50-dnsmasq-$named.conf, 50-insserv.conf-$named.conf
   Active: failed (Result: exit-code) since Sat 2018-02-17 16:14:51 GMT; 6min ago
  Process: 486 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=1/FAILURE)

Feb 17 16:14:51 DietPi dnsmasq[486]: dnsmasq: extraneous parameter at line 37 of /etc/dnsmasq.d/01-pihole.conf
Debian Jessie Known Issue Not a DietPi issue

Most helpful comment

Maybe you could checkout version v3.2.1 to install ?

Not for v6.2 release (wrapping it up for today release). But if we get enough "complaints" regarding the install being disabled, i'll investigate.

As a related question, is there going to be a dist upgrade in the future ?

Yes, but we need to wait for Meveric to update his repo to Stretch. Without which, Kodi and GPU packages are not functional in Stretch.

All 15 comments

offending line

log-queries=extra

We'll disable Jessie installs for now (https://github.com/pi-hole/pi-hole/commit/5c2dcb5e74f464e2ef5ec1afd67b569ea180acde#commitcomment-27626937), pending release of FTL 4.0.

I noticed this too, if you want to use pi-hole (who doesn't, it's awesome!) just comment that line, it will work but you won't be able to see stats

Notes for workaround attempt:

  • PiHole install script returns a exit status of >0 with Jessie (fail).
  • Chance of sed -i '/^log-queries/c\log-queries' /etc/dnsmasq.d/01-pihole.conf change being overwritten during updates
  • Stats not functional, expect bug reports for this.

I'll leave this as disabled for now, workaround is too messy and will cause more problems in the end for user.

@Fourdee Maybe you could checkout version v3.2.1 to install ?

As a related question, is there going to be a dist upgrade in the future ?

Maybe you could checkout version v3.2.1 to install ?

Not for v6.2 release (wrapping it up for today release). But if we get enough "complaints" regarding the install being disabled, i'll investigate.

As a related question, is there going to be a dist upgrade in the future ?

Yes, but we need to wait for Meveric to update his repo to Stretch. Without which, Kodi and GPU packages are not functional in Stretch.

Answer and temporary solution for Debian (Jessie) is given here:
https://discourse.pi-hole.net/t/pi-hole-v3-3-released-its-extra-special/7159

Thanks, I had to disable logging.

Installing dnsmasq 2.76 did not work for me as I am running it on Odroid C2. Tried to download arm64 version from Stretch repo but bumbped into dependency problems. Open to suggestions about how to update dnsmasq on DIetpi Odroid C2 version.

Thanks,I tried this partly :)

I did downgrade to v3.2.1, but did not downgrade FTL version. Will give it a go now. I am hopeful :)

Checking out FTL v2.13.2 did the trick. All seem to be working now :) Much appreciated.

@breneser You're welcome! 👍

For reference:


What we can do:


I mark this as closed. We hope for soon Pi-hole FTLDNS release which will re-enable Jessie support, AFAWK.

Let's collect Pi-hole related discussion here: https://github.com/Fourdee/DietPi/issues/1696
We will retest and rework our installer after mentioned release.

Was this page helpful?
0 / 5 - 0 ratings