** Description changed: + [Impact] + DNS resolution on systems. Systems where boot is fast enough or slow enough that NetworkManager starts and spawns dnsmasq before the loopback interface is ready would observe the issue. + + [Development Fix] + network-manager 0.9.4.0-0ubuntu5. Simple update to the upstart job. + + [Stable Fix] + Same as above, a minimal modification to the upstart job to add 'and static-network-up'. Tested independently, outside of a package update by Stéphane Graber. + + [Test case] + 1) Boot + 2) Verify that dnsmasq is started and listening on the loopback interface (127.0.0.1). Can be easily verified with ps -ef. + + [Regression Potential] + Minimal. If the loopback was to fail to be set by ifupdown, NetworkManager will start and still exercise the issue. If the boot process is sufficiently crippled by local changes to not emit static-network-up; NetworkManager would fail to start. + + --- + It's been reported by users on IRC that network-manager in some cases spawns a dnsmasq process that doesn't listen on anything. This only happens at boot time and disappears after reconnecting. The problem was tracked down to network-manager.conf triggering before the loopback interface is ready. Adding "and static-network-up" to the start condition ensures that /etc/network/interfaces was parsed and all interfaces in there have been ifup'ed, fixing the race.
-- 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/993379 Title: Network Manager starts before the loopback device is ready, leading to dnsmasq not listening on any interface, breaking DNS resolution Status in “network-manager” package in Ubuntu: Fix Released Status in “network-manager” source package in Precise: In Progress Status in “network-manager” source package in Quantal: Fix Released Bug description: [Impact] DNS resolution on systems. Systems where boot is fast enough or slow enough that NetworkManager starts and spawns dnsmasq before the loopback interface is ready would observe the issue. [Development Fix] network-manager 0.9.4.0-0ubuntu5. Simple update to the upstart job. [Stable Fix] Same as above, a minimal modification to the upstart job to add 'and static-network-up'. Tested independently, outside of a package update by Stéphane Graber. [Test case] 1) Boot 2) Verify that dnsmasq is started and listening on the loopback interface (127.0.0.1). Can be easily verified with ps -ef. [Regression Potential] Minimal. If the loopback was to fail to be set by ifupdown, NetworkManager will start and still exercise the issue. If the boot process is sufficiently crippled by local changes to not emit static-network-up; NetworkManager would fail to start. --- It's been reported by users on IRC that network-manager in some cases spawns a dnsmasq process that doesn't listen on anything. This only happens at boot time and disappears after reconnecting. The problem was tracked down to network-manager.conf triggering before the loopback interface is ready. Adding "and static-network-up" to the start condition ensures that /etc/network/interfaces was parsed and all interfaces in there have been ifup'ed, fixing the race. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/993379/+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

