I run into this bug and found the cause:
When starting dnsmasq, a call to resolvconf is made to update the server 
entries. If postfix is installed, the /etc/resolvconf/update-libc.d/postfix 
script is called which tries to reload it.
The problem is that dnsmasq is a nss-lookup.target, while postfix requires 
nss-lookup.target to be active in order to restart. That will create a 
deadlock, the ExecStartPost=/etc/init.d/dnsmasq systemd-start-resolvconf script 
in dnsmasq times out and the service is not started.
This is only triggered by having dnsmasq and postfix installed. If you also 
install nfs-common, the rpc-statd will also be part of nss-lookup.target and it 
won't be triggered.
I hope somebody will find this useful, took me days to debug it :D

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

Title:
  dnsmasq and resolvconf hangs on start

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

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

Reply via email to