[Bug 1778694] Re: In autoreport mode in whoopsie-preferences API, reports are not sent by whoopsie

Brian Murray brian at ubuntu.com
Mon Jul 16 18:31:00 UTC 2018


sil2100 asked me to look at the SRU of this for Ubuntu 18.04 and I
tested something in Cosmic that I have a concern about.

On a cosmic server I installed apport-noui, which also installed
whoopsie, I then used kill -11 and a .crash file was created in
/var/crash but no .upload and .uploaded file were.

I tried the same process again, but rebooted after installing apport-
noui and that time the .upload and .uploaded files were created
automatically. I haven't looked closely (I'll have a look later this
week) but it seems like apport-autoreport should be restarted when
whoopsie is installed.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1778694

Title:
  In autoreport mode in whoopsie-preferences API, reports are not sent
  by whoopsie

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Bionic:
  New

Bug description:
  [ Impact ]
  * The goal for autoreporting via whoopsie is to have a silent mode where whoopsie automatically reports crashes. However, this one requires apport-noui to be installed, which we don't by default.
  apport-noui is just a set of systemd unit starting whoopsie-upload-all (part of apport binary package).
  We should move the unit to apport package itself.

  [ Test Case ]
  * Install the new apport package from proposed
  * Set in g-c-c, privacy panel, to report bugs automatically
  * Make one program dumping a core dump
  * Wait for a while, you should have a .upload and .uploaded files in addition to the .crash one in /var/crash

  [ Regression potential ]
  The systemd units were in apport-noui previously, we moved them and made them conditional to whoopsie being installed.
  apport-noui is still useful by turning autoreport on, so people upgrading shouldn't have any impact or difference.
  The units have been renamed to make sense and avoid package files overwrite.

  -------------------------
  There are 2 possible solutions:
  - promoting apport-noui to main, and seeding it.
  - or considering there is no reason anymore to have a separate apport-noui pacakge (no more phone factor), and so move the systemd units to apport, having a conditional file on whoopsie installed (no more dependency) and autoreport enabled, shipping those units binary package shipping those units (renamed to apport-autoreport.*) directly.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1778694/+subscriptions



More information about the foundations-bugs mailing list