← Back to team overview

touch-packages team mailing list archive

[Bug 1413655] Re: --switch removes accounts

 

OK. So this is somewhat expected behavior under certain conditions. If
you have an account created with a version of ubuntuone-credentials
prior to  14.04+15.04.20150120  on vivid or 14.04+15.04.20150122~rtm  on
the RTM image, then that account will not have the "unconfined" ACL
needed to work correctly with some more recent updates in signon. With
such an account, upgrading to an image which has signon version
8.57+15.04.20150204.1-0ubuntu1  or newer on vivid or 8.57+15.04.20150205
~rtm-0ubuntu1 or newer on the RTM image, the existing account will no
longer be usable. When opening the Updates panel of System Settings,
this will result in the existing account being deleted as it is no
longer usable. If you were to browse through the store and install an
app, the resolution to this would be fluid and straightforward, as the
store scope would cause the signon UI for U1 to pop up and require you
to log in again, when you tap the Install or Buy buttons. However, the
Updates panel in system-settings does not open this UI, and instead
shows a button. The solution here is to fix system-settings to open that
UI when the existing token is deleted. We must delete the token and
require the user to log in again, as a matter of improved security in
the newer images. So, I'm moving this to system-settings.

** Package changed: ubuntuone-credentials (Ubuntu) => ubuntu-system-
settings (Ubuntu)

** Also affects: ubuntu-system-settings (Ubuntu RTM)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-system-settings (Ubuntu RTM)
       Status: New => Triaged

** Changed in: ubuntu-system-settings (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-system-settings (Ubuntu RTM)
   Importance: Undecided => High

** Also affects: canonical-devices-system-image
   Importance: Undecided
       Status: New

** Summary changed:

-  --switch removes accounts
+ Updates panel does not prompt for login when U1 account is invalid/deleted

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

Title:
  Updates panel does not prompt for login when U1 account is
  invalid/deleted

Status in the base for Ubuntu mobile products:
  New
Status in ubuntu-system-settings package in Ubuntu:
  Triaged
Status in ubuntu-system-settings package in Ubuntu RTM:
  Triaged

Bug description:
  BACKGROUND:
  Finding a way to test upgrade from rtm to vivid for testing data.

  STEPS:
  1. Flash Ubuntu RTM-proposed to a device
  2. Setup accounts for as many things as you can
  3. Open the browser view some sites to you have some history
  4. Take some photos
  5. Add some music and videos
  6. Enable developer mode
  7. From the pc run adb shell
  8. now run sudo system-image-cli --switch devel-proposed

  EXPECTED:
  I expect everything to still be intact

  ACTUAL:
  Data is still in place, wifi passwords are still in place.
  Accounts are all gone, any apps in a custom tarball gone, access to here apgs gone, any device tarballs improvements that are not forwarded to vivid are gone.

  /!\ note this is a general bug and may not be the fault of system-
  image but it seemed and apt place to start.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413655/+subscriptions


References