> Please, tell me more about your setup so we can make sure we cater for
this use case before release.

1) Install precise-desktop-i386.iso to some-pc.
2) Install dnsmasq. Fails to start. OK, annoying but let's see if the problem 
goes away after reboot.
3) Reboot. Try to `dig @some-pc ubuntu.com` from *another* PC.

Here's the problem. It *sometimes* works. The "caching resolver" implementation 
introduced a race condition.
So if the nm-spawned dnsmasq starts first, then the dnsmasq package is broken, 
and doesn't fulfill its stated goal to "provide DNS to a small network" out of 
the box and without manual editing of nm conffiles.
If the real dnsmasq starts first, then the "caching resolver" is broken instead.

Because of time constrains, I think that checking if [ -d /etc/dnsmasq.d ] 
before spawning dnsmasq from nm, would satisfy most of dnsmasq users. I don't 
think there are many users that want to keep the nm-spawned dnsmasq when they 
install the real one. Maybe something similar can be done for bind too.
In the future, maybe the "caching resolver" implementation can start using 
/etc/dnsmasq.d itself, along with the KVM-spawned instances too, so that people 
only have one dnsmasq instance instead of multiple ones?


(The reason we're using the desktop iso instead of the server one, is that we 
need a desktop environment in our servers for our LTSP thin clients, and 
because teachers work on our servers, they're not headless).

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/959037

Title:
  Don't start local resolver if a DNS server is installed

Status in “network-manager” package in Ubuntu:
  Triaged

Bug description:
  As described in
  https://blueprints.launchpad.net/ubuntu/+spec/foundations-p-dns-
  resolving, network manager now starts a dnsmasq instance for local DNS
  resolving.

  That breaks the default bind9 and dnsmasq installations, for people that 
actually want to install a DNS server.
  Having to manually comment out "#dns=dnsmasq" in 
/etc/NetworkManager/NetworkManager.conf doesn't sound good, and if it stays 
that way, it should be moved to the bind9 and dnsmasq postinst scripts.

  Please make network-manager smarter so that it checks if bind9 or
  dnsmasq are installed, so that it doesn't start the local resolver in
  that case.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/959037/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to