← Back to team overview

desktop-packages team mailing list archive

[Bug 991481] Re: Constant dns traffic for daisy.ubuntu.com

 

If you're going to bodge this with a wrapper script, a better choice
would address the constant network monitoring performed in whoopsie by
using the assume-online command line option.

I don't know the whoopsie codebase but based on a quick reading it looks
like the only real downside to this change would be that error reports
generated when offline wouldn't be sent up as soon as possible, but
would wait until the next time the whoopsie daemon is restarted *and*
there is network connectivity.

It feels like if someone cared enough to devote two hours to this, a
better middle-ground could be found that only polled the network once an
error report had been generated. It might require even more abuse of
global variables, but it shouldn't be too hideous.

Thanks

** Information type changed from Public Security to Public

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

Title:
  Constant dns traffic for daisy.ubuntu.com

Status in Ubuntu error tracker client (whoopsie):
  Confirmed
Status in glib2.0 package in Ubuntu:
  Invalid
Status in network-manager package in Ubuntu:
  In Progress
Status in whoopsie package in Ubuntu:
  Triaged

Bug description:
  Watching GNetworkMonitor's network-changed signal causes constant DNS
  traffic.

  Andy Whitcroft points out that the NETLINK_ROUTE socket set up by
  GNetworkMonitor will fire events every time an ARP entry appears or
  disappears.

  Unfortunately, we currently need an additional layer of connectivity
  checking because checking NetworkManager's state for CONNECTED_GLOBAL
  is not enough to know whether we're really online. Ubuntu does not yet
  use the NetworkManager connectivity check [1].

  The likely solution to this bug is a replacement for GNetworkMonitor
  in whoopsie.

  1: http://bazaar.launchpad.net/~daisy-
  pluckers/whoopsie/trunk/view/head:/src/connectivity.c#L326

  Original report follows:

  Every few seconds, I see a dns query for daisy.ubuntu.com. After
  removing whoopsie, the traffic goes away.

To manage notifications about this bug go to:
https://bugs.launchpad.net/whoopsie/+bug/991481/+subscriptions