You are not logged in.
Hi!
I've newly reinstalled my server and I'm having some trouble setting up dnsmasq. While I can start it on the commandline using:
/usr/bin/dnsmasq --enable-dbus --user=dnsmasq --pid-file
I can't get it to start using services.
When I start the service the logs end at
jul 09:29:47 dnsmasq[5348]: started, version 2.66 cachesize 150
Jul 29 09:29:47 dnsmasq[5348]: compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth
Jul 29 09:29:47 dnsmasq[5348]: DBus support enabled: connected to system bus
Jul 29 09:29:47 dnsmasq-dhcp[5348]: DHCP, IP range 192.168.0.50 -- 192.168.0.150, lease time 12h
Jul 29 09:29:47 dnsmasq[5348]: reading /etc/resolv.conf
Jul 29 09:29:47 dnsmasq[5348]: using nameserver 81.26.228.3#53
Jul 29 09:29:47 dnsmasq[5348]: using nameserver 81.26.226.3#53
Jul 29 09:29:47 dnsmasq[5348]: ignoring nameserver 127.0.0.1 - local interface
Jul 29 09:29:47 dnsmasq[5348]: read /etc/hosts - 2 addresses
If i remove the -k, which enables daemonization, it works from the commandline but not from services. Also, the log looks the same when I start it from commandline, other than that it starts to log all the dhcp and dns transactions.
Systemctl status says this:
# systemctl status dnsmasq.service
dnsmasq.service - A lightweight DHCP and caching DNS server
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; enabled)
Active: failed (Result: timeout) since Mon 2013-07-29 09:49:49 CEST; 59s ago
Docs: man:dnsmasq(8)
Process: 5515 ExecStartPre=/usr/bin/dnsmasq --test (code=exited, status=0/SUCCESS)
Main PID: 5518
CGroup: name=systemd:/system/dnsmasq.service
While journalctl -xn doesn't mention dnsmasq.
So, can anyone help shed some light on this?
Believe in the Ideal, not the Idol.
Offline