Comment 9 for bug 1577002

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Here's a summary of this:

* the SDK needs to uninstall apps before deploying because of mainly 2 reasons:
  -> scopes cannot be restarted otherwise
  -> apparmor profile changes are not registered by apparmor otherwise
* OA thinks it must clear all the credentials when an app using them is uninstalled
  -> This is due to bug 1358294 which afaict hasn't reached a conclusion either because of different opinions. OA developers are of the opinion that data should be removed upon uninstallation.

The combination of those two leaves us with this issue. The solutions could be any of:

a) Fix the scopes framework and apparmor to restart/reparse things when an app is re-installed without prior removal
b) don't delete account data on app removal

While I personally am of the opinion that anything created by the user (including account data) should *never* be deleted without the user triggering that explicitly himself, it seems a) would be the more correct solution.

Adding scopes and apparmor to this bug.