My YunoHost server
Hardware: computer
YunoHost version: 4.3.4
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
Description of my issue
I upgraded yunohost system today, and then internet wasn’t working on a desktop computer on my network. I use PiHole so I figured something went wrong with Yunohost and I started investigating.
$ sudo yunohost --version
yunohost:
repo: stable
version: 4.3.4
yunohost-admin:
repo: stable
version: 4.3.2.3
moulinette:
repo: stable
version: 4.3.2.2
ssowat:
repo: stable
version: 4.3.2.2
After upgrading, there was problems with internet on my desktop computer on the same network. I checked the yunohost services and dnsmasq has failed.
$ sudo yunohost service status
dnsmasq:
configuration: valid
description: Handles domain name resolution (DNS)
last_state_change: 2021-11-27 15:28:04
start_on_boot: enabled
status: failed
I tried restarting dnsmasq, but that didn’t work.
$ sudo yunohost service restart dnsmasq
Job for dnsmasq.service failed because the control process exited with error code.
See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
Warning: Could not execute the command 'systemctl restart dnsmasq'
Error: Could not restart the service 'dnsmasq'
Recent service logs:-- Logs begin at Fri 2021-11-19 13:15:01 CST, end at Sat 2021-11-27 15:46:04 CST. --
Nov 24 22:31:05 systemd[1]: Stopping dnsmasq - A lightweight DHCP and caching DNS server...
Nov 24 22:31:05 dnsmasq[17993]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
Nov 24 22:31:05 systemd[1]: dnsmasq.service: Succeeded.
Nov 24 22:31:05 systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
Nov 24 22:31:05 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Nov 24 22:31:05 dnsmasq[18025]: dnsmasq: syntax check OK.
Nov 24 22:31:06 dnsmasq[18036]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
Nov 24 22:31:06 systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.
Nov 27 15:28:03 systemd[1]: Stopping dnsmasq - A lightweight DHCP and caching DNS server...
Nov 27 15:28:04 dnsmasq[14085]: /etc/resolvconf/update.d/libc: Warning: /etc/resolv.conf is not a symbolic link to /etc/resolvconf/run/resolv.conf
Nov 27 15:28:04 systemd[1]: dnsmasq.service: Succeeded.
Nov 27 15:28:04 systemd[1]: Stopped dnsmasq - A lightweight DHCP and caching DNS server.
Nov 27 15:28:04 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Nov 27 15:28:04 dnsmasq[14124]: dnsmasq: syntax check OK.
Nov 27 15:28:04 dnsmasq[14125]: dnsmasq: bad option at line 22 of /etc/dnsmasq.d/wg.arkadi.one
Nov 27 15:28:04 dnsmasq[14125]: bad option at line 22 of /etc/dnsmasq.d/wg.arkadi.one
Nov 27 15:28:04 systemd[1]: dnsmasq.service: Control process exited, code=exited, status=1/FAILURE
Nov 27 15:28:04 dnsmasq[14125]: FAILED to start up
Nov 27 15:28:04 systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Nov 27 15:28:04 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
Nov 27 15:46:04 systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
Nov 27 15:46:04 dnsmasq[15588]: dnsmasq: syntax check OK.
Nov 27 15:46:04 dnsmasq[15589]: dnsmasq: bad option at line 22 of /etc/dnsmasq.d/wg.arkadi.one
Nov 27 15:46:04 systemd[1]: dnsmasq.service: Control process exited, code=exited, status=1/FAILURE
Nov 27 15:46:04 dnsmasq[15589]: bad option at line 22 of /etc/dnsmasq.d/wg.arkadi.one
Nov 27 15:46:04 systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Nov 27 15:46:04 dnsmasq[15589]: FAILED to start up
Nov 27 15:46:04 systemd[1]: Failed to start dnsmasq - A lightweight DHCP and caching DNS server.
I checked what the file it is complaning about it. I don’t know anything about dnsmasq so I don’t know what’s wrong.
Also, I haven’t made any tweaks to Wireguard or Pihole for the last month so I’m not sure how the file is suddenly not valid.
line 21-24 of /etc/dnsmasq.d/wg.arkadi.one
interface-name=wg.arkadi.one,veth5a4e3a9
22 veth6342377
23 interface-name=xmpp-upload.wg.arkadi.one,veth5a4e3a9
24 veth6342377
I tried restarting the service, but still has an error.
I tried rebooting, but the problem persists.
Any idea what happened?