[Bug 964508] Re: whoopsie uploads crash reports, including core dumps, when on a 3G connection
Evan Dandrea
evan.dandrea at canonical.com
Tue Mar 27 11:06:40 UTC 2012
Mathieu Trudel-Lapierre pointed out that if the user has both an
ethernet and 3G connection, it will correctly use the ethernet
interface.
With that, I have the following branch which implements the connectivity check on top of Network Manager, reusing some code we previously had for a less comprehensive check:
http://bazaar.launchpad.net/~ev/whoopsie-daisy/3g-check/revision/330?compare_revid=326
Do note that it fakes out a ConsoleKit session by writing
/var/run/console/whoopsie, as NetworkManager has the at_console flag set
in org.freedesktop.NetworkManager.conf. While it has code to do so, it
cannot delete this file at exit, as the directory is root owned.
I think this is okay. ConsoleKit removes the entire contents of
/var/run/console on exit anyway and whoopsie is long running. Of course
if ConsoleKit died, whoopsie would lose the ability to get connectivity
updates. However, I'm pretty sure this case is not well handled anywhere
(killing console-kit-daemon breaks NetworkManager on my system).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to whoopsie-daisy in Ubuntu.
https://bugs.launchpad.net/bugs/964508
Title:
whoopsie uploads crash reports, including core dumps, when on a 3G
connection
Status in “whoopsie-daisy” package in Ubuntu:
Confirmed
Bug description:
Currently, whoopsie attempts to upload crash reports whenever an
Internet connection is available. For binary applications, whoopsie
also uploads a core dump if this is the first time the crash has been
seen.
We need to determine whether we want whoopsie to only send the crash
report when on a 3G connection, or if we want it to wait until it is
on a WiFi or Ethernet connection for sending both the crash report and
core dump.
Network Manager provides a DBus API for checking whether the default
route is over a 3G connection:
http://paste.ubuntu.com/899028/
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/whoopsie-daisy/+bug/964508/+subscriptions
More information about the foundations-bugs
mailing list