dnsmasq fails

When I try to install Pihole in DietPi 6.1 on Odroid-C2 without EMMC module I get the following error:

Feb 17 11:34:18 DietPi systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Feb 17 11:34:18 DietPi dnsmasq[2932]: dnsmasq: extraneous parameter at line 37 of /etc/dnsmasq.d/01-pihole.conf
Feb 17 11:34:18 DietPi dnsmasq[2932]: extraneous parameter at line 37 of /etc/dnsmasq.d/01-pihole.conf
Feb 17 11:34:18 DietPi dnsmasq[2932]: FAILED to start up
Feb 17 11:34:18 DietPi systemd[1]: dnsmasq.service: control process exited, code=exited status=1
Feb 17 11:34:18 DietPi systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Feb 17 11:34:18 DietPi systemd[1]: Dependency failed for Host and Network Name Lookups.
Feb 17 11:34:18 DietPi systemd[1]: Unit dnsmasq.service entered failed state.

How do I solve this?

Hi,

Thanks for the report, I’ll try to replicate.

In the mean time, please can you paste the output of:

cat /etc/dnsmasq.d/01-pihole.conf

Confirmed on C2 Jessie. We’ll open for investigations:
https://github.com/Fourdee/DietPi/issues/1524#issue-298016374

If th8is is pulling the latest version of PiHole, it seems it is not just a DietPi issue. I have rolled back to previous version for now.

Output of cat /etc/dnsmasq.d/01-pihole.conf:

# Pi-hole: A black hole for Internet advertisements
# (c) 2015, 2016 by Jacob Salmela
# Network-wide ad blocking via your Raspberry Pi
# http://pi-hole.net
# dnsmasq config for Pi-hole
#
# Pi-hole is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.

###############################################################################
#      FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE.      #
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
#                                                                             #
#        IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN:          #
#                      /etc/pihole/setupVars.conf                             #
#                                                                             #
#        ANY OTHER CHANGES SHOULD BE MADE IN A SEPERATE CONFIG FILE           #
#                        OR IN /etc/dnsmasq.conf                              #
###############################################################################

addn-hosts=/etc/pihole/gravity.list
addn-hosts=/etc/pihole/black.list
addn-hosts=/etc/pihole/local.list


localise-queries


no-resolv



cache-size=10000

log-queries=extra
log-facility=/var/log/pihole.log

local-ttl=2

log-async
server=208.67.222.222
server=208.67.220.220
interface=eth0

I’m having the same error with the XU4.