[Bug 1027808] Re: dnsmasq doesn't start at system startup
@Thomas: Nice to hear. Probably your standalone dnsmasq was conflicting with the dnsmasq process controlled by NetworkManager --- both were trying to bind 127.0.0.1. Now NM-dnsmasq binds 127.0.1.1 instead, so there is no longer a conflict. Please upgrade network-manager to 0.9.6.0-0ubuntu7 and dnsmasq to 2.63-1ubuntu1 and see if the problem is still fixed. ;) ** Changed in: dnsmasq (Ubuntu) Status: Incomplete => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1027808] Re: dnsmasq doesn't start at system startup
I've compiled the latest dnsmasq for Ubuntu and it now works for me like a charm. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 1027808] Re: dnsmasq doesn't start at system startup
On 17/08/12 19:26, Mathieu Trudel-Lapierre wrote: > Any news about this? > > There's actually multiple issues here; one of them being that loopback > probably isn't ready yet, which is something we fixed in NetworkManager > (which had the same issue) by depending on it through upstart before > starting the network-manager job. > > Then, we now ship configuration in /etc/dnsmasq.d/network-manager which > explicitly mentions bind-interfaces and except-interface=lo; which would > clash with your configuration. > > Your best bet is to disable NetworkManager's instance of dnsmasq used > for dnsmasq caching (and remove /etc/dnsmasq.d/network-manager) or to > disable the system-wide instance. > My guess is that adding "bind-interfaces" in /etc/dnsmasq.d/network-manager is what's causing the "system" dnsmasq to fail if the lo interface is not up when it starts. Moving to dnsmasq 2.63 and substituting "bind-dynamic" for "bind-interfaces" should solve that problem, backporting bind-dynamic to earlier releases is not for the faint-hearted... Simon. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1027808] Re: dnsmasq doesn't start at system startup
Any news about this? There's actually multiple issues here; one of them being that loopback probably isn't ready yet, which is something we fixed in NetworkManager (which had the same issue) by depending on it through upstart before starting the network-manager job. Then, we now ship configuration in /etc/dnsmasq.d/network-manager which explicitly mentions bind-interfaces and except-interface=lo; which would clash with your configuration. Your best bet is to disable NetworkManager's instance of dnsmasq used for dnsmasq caching (and remove /etc/dnsmasq.d/network-manager) or to disable the system-wide instance. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1027808] Re: dnsmasq doesn't start at system startup
This is either an issue that lo isn't ready yet; or more likely that NM starts and spawns dnsmasq to listen on 127.0.0.1 before the standalone daemon has a chance to start. It should be apparent if it is the case in /var/log/syslog. Please attach /var/log/syslog to this bug report. Thanks! ** Changed in: dnsmasq (Ubuntu) Status: New => Incomplete ** Changed in: dnsmasq (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1027808] Re: dnsmasq doesn't start at system startup
Please reboot, reproducing the dnsmasq failure, and then run "apport- collect 1027808" to provide more information about the affected system, including the syslog. Your dnsmasq.conf includes listen-address=127.0.0.1 and no "interface" option. dnsmasq(8) says: -a, --listen-address= Listen on the given IP address(es). Both --interface and --lis‐ ten-address options may be given, in which case the set of both interfaces and addresses is used. Note that if no --interface option is given, but --listen-address is, dnsmasq will not auto‐ matically listen on the loopback interface. To achieve this, its IP address, 127.0.0.1, must be explicitly given as a --listen- address option. It seems then that your dnsmasq is only listening on 127.0.0.1. Is dnsmasq starting before lo is configured? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1027808] Re: dnsmasq doesn't start at system startup
Which version of network-manager do you have? Please post the output of for F in /etc/dnsmasq.d/* ; do echo === $F === ; cat $F ; done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1027808] Re: dnsmasq doesn't start at system startup
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1027808 Title: dnsmasq doesn't start at system startup To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1027808/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs