You are not logged in.

#1 2019-05-25 16:48:53

phovos
Member
Registered: 2018-07-26
Posts: 2

[SOLVED] dnsmasq.service conflict with systemd-resolved.service

Lately I noticed that dnsmasq.service was failing to start by giving the following error message. (Sorry for the truncated text)

 systemd[1]: Starting A lightweight DHCP and caching DNS >
XXXXXXXXXXX XXXXX doulos dnsmasq[1801]: dnsmasq: syntax check OK.
XXXXXXXXXXX XXXXX doulos dnsmasq[1802]: dnsmasq: failed to create listening socke>
XXXXXXXXXXX XXXXX doulos dnsmasq[1802]: failed to create listening socket for port 53
XXXXXXXXXXX XXXXX systemd[1]: dnsmasq.service: Main process exited, code=e>
XXXXXXXXXXX XXXXX dnsmasq[1802]: FAILED to start up
XXXXXXXXXXX XXXXX systemd[1]: dnsmasq.service: Failed with result 'exit-co>
XXXXXXXXXXX XXXXX Failed to start A lightweight DHCP and cachi>

I overrode the systemd.service unit config by invoking:

# systemctl edit dnsmasq.service

And adding to that file:

[Unit]
Before=systemd-resolved

And it works!

source: https://unix.stackexchange.com/question … d-resolved

Offline

Board footer

Powered by FluxBB