← Back to team overview

touch-packages team mailing list archive

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

 

** Description changed:

  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

-- 
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:
  New

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