← Back to team overview

touch-packages team mailing list archive

[Bug 1431432] Re: conffiles prompt on vivid upgrade if report_metrics is enabled

 

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 <didrocks@xxxxxxxxxx>   Thu, 12 Mar 2015 17:21:58 +0100

** Changed in: whoopsie (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to whoopsie in Ubuntu.
https://bugs.launchpad.net/bugs/1431432

Title:
  conffiles prompt on vivid upgrade if report_metrics is enabled

Status in whoopsie package in Ubuntu:
  Fix Released
Status in whoopsie-preferences package in Ubuntu:
  Fix Released

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:

  [General]
  report_crashes=true

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

  
  However, user might have changed the report metrics option in gnome-control-center, privacy settings, resulting in:
  [General]
  report_crashes=true
  report_metrics=true

  
  Proposal:
  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
  [General]
  report_metrics= true
  if report_metrics was set to true
  4. we patch whoopsie g-c-c capplet to read/update from /etc/whoopsie

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


References