whoopsie reuses CRASH_DB_IDENTIFIER on next run

Bug #1389357 reported by Brian Murray on 2014-11-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
whoopsie (Ubuntu)
Low
Brian Murray

Bug Description

On Vivid, Ubuntu 15.04, I observed the following behavior.

bdmurray@blacklightning:~/Downloads$ sudo stop whoopsie
[sudo] password for bdmurray:
whoopsie stop/waiting
bdmurray@blacklightning:~/Downloads$ sudo CRASH_DB_URL=https://daisy.staging.ubuntu.com CRASH_DB_IDENTIFIER=deadbeefbd89cc5da1f045978a550ad4b38782c1390ccd8c265c5ddc803be1d8bc0d0d5657350ce06c611975d77dac5a28db5e78921476be5430e0b6c1a44dfd APPORT_REPORT_DIR=/var/crash/ whoopsie -f
[11:07:17] Using lock path: /var/crash/whoopsie_lock
[11:07:18] The default IPv4 route is: /org/freedesktop/NetworkManager/ActiveConnection/39
[11:07:18] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/39
[11:07:18] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/39
[11:07:18] online
bdmurray@blacklightning:~/Downloads$ sudo cat /var/lib/whoopsie/whoopsie-id
deadbeefbd89cc5da1f045978a550ad4b38782c1390ccd8c265c5ddc803be1d8bc0d0d5657350ce06c611975d77dac5a28db5e78921476be5430e0b6c1a44dfd
bdmurray@blacklightning:~/Downloads$ sudo start whoopsie
whoopsie start/running, process 9083
bdmurray@blacklightning:~/Downloads$ sudo cat /var/lib/whoopsie/whoopsie-id
deadbeefbd89cc5da1f045978a550ad4b38782c1390ccd8c265c5ddc803be1d8bc0d0d5657350ce06c611975d77dac5a28db5e78921476be5430e0b6c1a44dfd

Notice, how the same CRASH_DB_IDENTIFIER was used by whoopsie when starting up, rather than calculating the system identifier. This may lead to crashes being reported under the wrong system-identifier if people switch from setting the environmental variable to just running whoopsie.

Changed in whoopsie (Ubuntu):
importance: Undecided → Low
Evan (ev) wrote :

This will mean that tests in CI will negligibly skew the results, but I think we can live with that for now. I agree that this is low priority.

Changed in whoopsie (Ubuntu):
status: New → Confirmed
tags: added: rls-w-incoming
Changed in whoopsie (Ubuntu):
assignee: nobody → Brian Murray (brian-murray)
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package whoopsie - 0.2.49

---------------
whoopsie (0.2.49) wily; urgency=medium

  [ Evan Dandrea ]
  * Helper to create recoverable problem reports. Thanks Ted Gould!

  [ Brian Murray ]
  * Switch build-depends from transitional libgcrypt11-dev to libgcrypt20-dev.
    Thanks to Robert Ancell.
  * Only publish the CRASH_DB_IDENTIFIER on the file system if it was not
    set via an environmental variable. (LP: #1389357)

 -- Brian Murray <email address hidden> Wed, 07 Oct 2015 10:09:03 -0700

Changed in whoopsie (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers