*** This bug is a duplicate of bug 1531184 ***
    https://bugs.launchpad.net/bugs/1531184

Running 16.04.1 and this fix doesn't seem to make a difference.


Feb  5 10:55:56 ubuntu systemd[1]: dnsmasq.service: Start-post operation timed 
out. Stopping.
Feb  5 10:55:56 ubuntu dnsmasq[31933]: exiting on receipt of SIGTERM
Feb  5 10:55:56 ubuntu systemd[1]: Failed to start dnsmasq - A lightweight DHCP 
and caching DNS server.
Feb  5 10:55:56 ubuntu systemd[1]: Dependency failed for Host and Network Name 
Lookups.
Feb  5 10:55:56 ubuntu systemd[1]: nss-lookup.target: Job 
nss-lookup.target/start failed with result 'dependency'.
Feb  5 10:55:56 ubuntu systemd[1]: dnsmasq.service: Unit entered failed state.
Feb  5 10:55:56 ubuntu systemd[1]: dnsmasq.service: Failed with result 
'timeout'.


/lib/systemd/system/dnsmasq.service is where I added the 2 lines so it
looks like this:

[Unit]
Description=dnsmasq - A lightweight DHCP and caching DNS server
Requires=network.target
After=network-online.target
Wants=network-online.target


Yet the error still happens: ubuntu systemd[1]: nss-lookup.target: Job
nss-lookup.target/start failed with result 'dependency'.

I ran a apt --purge and removed dnsmasq completely, then reinstalled it.
Got the same nss-lookup.target error. Based on some other bugs, maybe
dnsmasq didn't have it's interface defined properly. So I added the
interface=enp6s0 line to the dnsmasq.conf file. Restarting the service
still yields the same nss-lookup.target error.

To get back to a working system, either a reboot or run "service dnsmasq
start" instead of restart.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1464990

Title:
  Job for dnsmasq.service failed because the control process exited with
  error code

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1464990/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to