Updates panel does not prompt for login when U1 account is invalid/deleted
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Critical
|
Unassigned | ||
| | ubuntu-system-settings (Ubuntu) |
High
|
Unassigned | ||
| | ubuntu-system-settings (Ubuntu RTM) |
High
|
Unassigned | ||
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.
Related branches
- Ken VanDine: Approve on 2015-02-20
- PS Jenkins bot: Approve (continuous-integration) on 2015-02-19
-
Diff: 76 lines (+15/-0)5 files modifiedplugins/system-update/PageComponent.qml (+5/-0)
plugins/system-update/update_manager.cpp (+4/-0)
plugins/system-update/update_manager.h (+1/-0)
tests/plugins/system-update/fakessoservice.cpp (+2/-0)
tests/plugins/system-update/fakessoservice.h (+3/-0)
- Sebastien Bacher (community): Approve on 2015-02-26
- PS Jenkins bot: Approve (continuous-integration) on 2015-02-26
-
Diff: 76 lines (+15/-0)5 files modifiedplugins/system-update/PageComponent.qml (+5/-0)
plugins/system-update/update_manager.cpp (+4/-0)
plugins/system-update/update_manager.h (+1/-0)
tests/plugins/system-update/fakessoservice.cpp (+2/-0)
tests/plugins/system-update/fakessoservice.h (+3/-0)
- Ubuntu Touch System Settings: Pending requested 2015-02-26
-
Diff: 77017 lines (+62935/-593) (has conflicts)91 files modifiedCMakeLists.txt (+24/-10)
debian/changelog (+949/-0)
debian/control (+32/-0)
plugins/about/PageComponent.qml (+9/-0)
plugins/about/Storage.qml (+11/-0)
plugins/about/click.cpp (+56/-0)
plugins/about/click.h (+6/-0)
plugins/about/storageabout.cpp (+10/-1)
plugins/about/storageabout.h (+7/-0)
plugins/bluetooth/PageComponent.qml (+170/-0)
plugins/bluetooth/agent.cpp (+4/-0)
plugins/bluetooth/agentadaptor.h (+1/-1)
plugins/bluetooth/bluetooth.cpp (+31/-0)
plugins/bluetooth/bluetooth.h (+4/-0)
plugins/bluetooth/devicemodel.cpp (+12/-0)
plugins/cellular/Components/DataMultiSim.qml (+9/-1)
plugins/cellular/Components/NoSim.qml (+47/-0)
plugins/cellular/Components/RadioSingleSim.qml (+90/-0)
plugins/cellular/Components/SimEditor.qml (+24/-0)
plugins/cellular/CustomApnEditor.qml (+328/-0)
plugins/language/PageComponent.qml (+17/-0)
plugins/phone/MultiSim.qml (+138/-0)
plugins/phone/PageComponent.qml (+28/-0)
plugins/security-privacy/LockSecurity.qml (+61/-0)
plugins/security-privacy/PhoneLocking.qml (+4/-0)
plugins/security-privacy/SimPin.qml (+392/-0)
plugins/sound/PageComponent.qml (+31/-0)
plugins/system-update/PageComponent.qml (+479/-2)
plugins/system-update/download_tracker.cpp (+23/-4)
plugins/system-update/download_tracker.h (+9/-0)
plugins/system-update/network/network.cpp (+39/-0)
plugins/wifi/NetworkDetails.qml (+5/-0)
plugins/wifi/NetworkDetailsBrief.qml (+82/-0)
plugins/wifi/OtherNetwork.qml (+387/-116)
plugins/wifi/PageComponent.qml (+17/-0)
po/CMakeLists.txt (+4/-0)
po/am.po (+2790/-1)
po/be.po (+2702/-6)
po/ca.po (+2794/-13)
po/ca@valencia.po (+3029/-0)
po/de.po (+2916/-8)
po/el.po (+2780/-3)
po/en_AU.po (+2764/-6)
po/es.po (+328/-57)
po/fa.po (+196/-56)
po/fr.po (+927/-57)
po/gl.po (+2709/-14)
po/he.po (+2700/-49)
po/hu.po (+2682/-17)
po/is.po (+1012/-54)
po/it.po (+2876/-6)
po/pa.po (+2747/-2)
po/pl.po (+2872/-3)
po/pt.po (+2798/-1)
po/ro.po (+1285/-0)
po/ru.po (+2781/-17)
po/tr.po (+2858/-1)
po/ubuntu-system-settings.pot (+2897/-32)
po/zh_CN.po (+2752/-0)
po/zh_TW.po (+2160/-54)
push-helper/software_updates_helper.py (+154/-0)
src/qml/CategoryGrid.qml (+4/-0)
tests/autopilot/ubuntu_system_settings/__init__.py (+557/-0)
tests/autopilot/ubuntu_system_settings/tests/__init__.py (+45/-1)
tests/autopilot/ubuntu_system_settings/tests/test_datetime.py (+5/-0)
tests/autopilot/ubuntu_system_settings/tests/test_wifi.py (+162/-0)
wizard/CMakeLists.txt.OTHER (+51/-0)
wizard/PageList.cpp.OTHER (+111/-0)
wizard/Utils/CMakeLists.txt.OTHER (+27/-0)
wizard/Utils/plugin.cpp.OTHER (+41/-0)
wizard/Utils/system.cpp (+114/-0)
wizard/Utils/system.h (+57/-0)
wizard/main.cpp.OTHER (+93/-0)
wizard/qml/Components/CheckableSetting.qml (+80/-0)
wizard/qml/Components/Page.qml.OTHER (+107/-0)
wizard/qml/Components/StackButton.qml.OTHER (+54/-0)
wizard/qml/Pages/10-welcome.qml.OTHER (+93/-0)
wizard/qml/Pages/20-sim.qml.OTHER (+75/-0)
wizard/qml/Pages/30-passwd-type.qml.OTHER (+119/-0)
wizard/qml/Pages/40-wifi.qml.OTHER (+216/-0)
wizard/qml/Pages/50-location.qml (+96/-0)
wizard/qml/Pages/60-reporting.qml.OTHER (+52/-0)
wizard/qml/Pages/80-finished.qml.OTHER (+55/-0)
wizard/qml/Pages/here-terms.qml (+117/-0)
wizard/qml/Pages/passwd-confirm.qml (+79/-0)
wizard/qml/Pages/passwd-set.qml (+87/-0)
wizard/qml/main.qml.OTHER (+246/-0)
wizard/test.sh.OTHER (+18/-0)
wizard/ubuntu-system-settings-wizard-cleanup.conf.OTHER (+20/-0)
wizard/ubuntu-system-settings-wizard-set-lang.conf (+30/-0)
wizard/ubuntu-system-settings-wizard.conf.OTHER (+75/-0)
| Alberto Mardegan (mardy) wrote : | #1 |
| Alberto Mardegan (mardy) wrote : | #2 |
I've tried to reproduce this bug, with devel-proposed being at image 78. On rtm-proposed, I created a Twitter account and an U1 account, then I installed podbird from the store and added a couple of podcasts.
After the switch, podbird is still installed, and its podcasts are there; the Twitter account is still there, but the U1 account has been removed. Unfortunately I cannot tell if it was removed after the switch, or if it had been removed even before. But for sure, I didn't remove it myself.
The accounts DB doesn't seem corrupt, and I could create an U1 account after the switch. So, it looks like the U1 account was removed in a clean way, but we don't know why. I'm adding ubuntuone-
| Barry Warsaw (barry) wrote : | #3 |
This can't be caused by a bug in the system-image client.
| Changed in system-image (Ubuntu): | |
| status: | New → Invalid |
| dobey (dobey) wrote : | #4 |
I'm pretty sure this was due to the previous signon-
| Changed in ubuntuone-credentials (Ubuntu): | |
| status: | New → Incomplete |
| no longer affects: | system-image (Ubuntu) |
| Changed in ubuntuone-credentials (Ubuntu): | |
| status: | Incomplete → Triaged |
| dobey (dobey) wrote : | #5 |
OK. So this is somewhat expected behavior under certain conditions. If you have an account created with a version of ubuntuone-
| affects: | ubuntuone-credentials (Ubuntu) → ubuntu-system-settings (Ubuntu) |
| 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 |
| summary: |
- --switch removes accounts + Updates panel does not prompt for login when U1 account is + invalid/deleted |
| Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
[ Sebastien Bacher ]
* system-update: use the correct right-anchoring so the checking-for-
updates label is not cut, in some locales (LP: #1421967)
[ Iain Lane ]
* Drop old example images from debian/copyright - they aren't shipped
any more
[ Rodney Dawes ]
* Handle the credentialsDeleted signal appropriately. (LP: #1413655)
-- CI Train Bot <email address hidden> Fri, 20 Feb 2015 14:40:43 +0000
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | Triaged → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | New → In Progress |
| importance: | Undecided → Critical |
| milestone: | none → ww13-ota |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Released |
| Changed in ubuntu-system-settings (Ubuntu RTM): | |
| status: | Triaged → Won't Fix |


Just FYI, account data is stored in ~/.config/ libaccounts- glib/accounts. db and in ~/config/ signon/ *.db.