After install the daemon runs fine in 18.04:
root@b:~# systemctl status dnsmasq
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset:
enabled)
Active: active (running) since Mon 2020-04-06 06:34:36 UTC; 26s ago
Main PID: 25562 (dnsmasq)
Tasks: 1 (limit: 38284)
CGroup: /system.slice/dnsmasq.service
└─25562 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid ...
The file exists matching the ownership as you described:
root@b:~# ll /run/dnsmasq/dnsmasq.pid
-rw-r--r-- 1 dnsmasq nogroup 6 Apr 6 06:34 /run/dnsmasq/dnsmasq.pid
The path is defined the same way in the service file:
root@b:~# systemctl cat dnsmasq | grep PIDF
PIDFile=/run/dnsmasq/dnsmasq.pid
The file content is correct:
root@b:~# cat /run/dnsmasq/dnsmasq.pid
25562
There is no complaint about the PIDFILE (or anything else):
Apr 06 06:34:35 b systemd[1]: Starting dnsmasq - A lightweight DHCP and caching
DNS server...
Apr 06 06:34:35 b dnsmasq[25512]: dnsmasq: syntax check OK.
Apr 06 06:34:36 b dnsmasq[25562]: started, version 2.79 cachesize 150
Apr 06 06:34:36 b dnsmasq[25562]: compile time options: IPv6 GNU-getopt DBus
i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
Apr 06 06:34:36 b dnsmasq[25562]: reading /etc/resolv.conf
Apr 06 06:34:36 b dnsmasq[25562]: using nameserver 127.0.0.53#53
Apr 06 06:34:36 b dnsmasq[25562]: read /etc/hosts - 7 addresses
Apr 06 06:34:36 b systemd[1]: Started dnsmasq - A lightweight DHCP and caching
DNS server.
systemd properly reads it as well:
root@b:~# systemctl show --property MainPID --value dnsmasq
25562
I wonder what issue you are actually looking at as I've seen none and
your report has no example error.
Reading between the lines - if you want to run sysV init instead of
systemd as the main init system that isn't supported in modern Ubuntu
releases.
** Changed in: dnsmasq (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1870980
Title:
dnsmasq conf file runtime group conflicts with initd
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1870980/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs