conffiles prompt on vivid upgrade if report_metrics is enabled

Bug #1431432 reported by Didier Roche on 2015-03-12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
whoopsie (Ubuntu)
whoopsie-preferences (Ubuntu)

Bug Description

There is a potential conffiles prompt when upgrading to vivid if report_metrics has been enabled, as we remove the report_crashes and use service enablement.

Moving that value to a non conffiles (/ect/whoopsie) and using that in whoopsie-preferences.

The conffile (/etc/default/whoopsie) was by default:


For now, we remove the "report_crashes" (job enablement value) in preinst with sedding, and ship a new conffiles:

However, user might have changed the report metrics option in gnome-control-center, privacy settings, resulting in:

1. we continue transitioning, removing "report_crashes" and cache that for job enablement/disablement in postinst
2. we remove completely the conffile on upgrade/removal
3. we move report_metrics value (if present in conffiles) to /etc/whoopsie, file with only
report_metrics= true
if report_metrics was set to true
4. we patch whoopsie g-c-c capplet to read/update from /etc/whoopsie

Didier Roche (didrocks) on 2015-03-12
description: updated
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package whoopsie-preferences - 0.14

whoopsie-preferences (0.14) vivid; urgency=medium

  * Now use service status (upstart and systemd) to notify if crash reporting
    is enabled (LP: #1412719)
  * Default file for whoopsie settings (only used for report_metrics currently)
    is now /etc/whoopsie (LP: #1431432)
  * debian/control: add Breaks to ensure we dep on the right whoopsie version
  * Update Standards-Version.
 -- Didier Roche <email address hidden> Thu, 12 Mar 2015 17:39:30 +0100

Changed in whoopsie-preferences (Ubuntu):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package whoopsie - 0.2.47

whoopsie (0.2.47) vivid; urgency=medium

  [ Didier Roche ]
  * Remove /etc/default/whoopsie conffile and avoid upgrade prompt:
    (LP: #1431432)
    - debian/whoopsie.maintscript: get it removed on upgrade
    - debian/whoopsie.preinst: copy the optional report_metrics value if set
      by gnome-control-center capplet to /etc/whoopsie (not a conffile).
      (LP: #1412719)
      Refactor the logic for caching report_crashes as well.
    - debian/whoopsie.postinst: enhance the logic to ensure we don't have the
      service started after upgrade and keep it disable if it was disabled
    - Makefile, data/whoopsie: remove the conffile so that we don't ship it
  * Bump Standards-Version

  [ Michael Blennerhassett ]
  * Under upstart: Set the WAIT_STATE to get wait-for-state to do something
    useful. GOAL is also not needed.
 -- Didier Roche <email address hidden> Thu, 12 Mar 2015 17:21:58 +0100

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

Other bug subscribers