GNOME Online Accounts breaks if you log out (until you reboot)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu GNOME |
Fix Released
|
High
|
Unassigned | ||
gnome-online-accounts |
Confirmed
|
Critical
|
|||
gnome-online-accounts (Arch Linux) |
New
|
Undecided
|
Unassigned | ||
gnome-online-accounts (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Yakkety |
Won't Fix
|
High
|
Unassigned | ||
Zesty |
Won't Fix
|
High
|
Unassigned | ||
gnome-session (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Yakkety |
Won't Fix
|
High
|
Unassigned | ||
Zesty |
Won't Fix
|
High
|
Unassigned |
Bug Description
Impact
======
After logging out, GNOME Online Accounts doesn't work the next time you log in.
This bug was a Release Blocker for Fedora 26. (Fedora 26 will be released in July).
gnome-session is the only package updated in this update (not gnome-online-
Test Case
=========
From Ubuntu GNOME, click Settings>Online Accounts and add your Google account. Install Evolution if it's not installed. Verified that your Google account has synced.
Log out. Log in. It may help to reproduce the bug log in to a different session (GNOME on Wayland instead of GNOME, or the other way around).
Open Evolution. Verify that no errors are reported and that your Google account is still syncing.
After installing the gnome-session update, I recommend rebooting once to clear any old lingering GNOME Online Accounts processes from previous sessions.
Regression Potential
=======
This fix is the same as was accepted into Fedora 26. It is a workaround by killing all the user's D-Bus sessions when the user logs out. This fix has been backported from gnome-session 3.25.3. It has not been applied to the 3.24 git branch upstream.
Since 16.10 has almost reached its end of life (July), I am not proposing this fix there. I believe 16.10 is the first release affected since Ubuntu moved many more services to systemd user sessions in that release.
The patch tries to only kill the D-Bus sessions if the session being logged out is the final remaining session for the user.
The workaround makes sense to me. It seems similar to the KillUserProcesses option that was pushed into systemd to fix this kind of problem but it's more limited than the systemd method so hopefully it won't be as controversial.
Original Bug Report
===================
Can't add any online accounts in after opened Online accounts + mark is faded, can't click.
After reinstalled gnome-online-
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: gnome-online-
ProcVersionSign
Uname: Linux 4.4.0-34-generic x86_64
ApportVersion: 2.20.3-0ubuntu5
Architecture: amd64
CurrentDesktop: Budgie:GNOME
Date: Mon Aug 8 15:33:45 2016
SourcePackage: gnome-online-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
Changed in ubuntu-gnome: | |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → artful |
Changed in gnome-online-accounts: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
Changed in gnome-online-accounts: | |
importance: | Critical → Unknown |
status: | Confirmed → Unknown |
tags: |
added: gnome-17.10 removed: package-from-proposed |
Changed in gnome-online-accounts: | |
importance: | Unknown → Critical |
status: | Unknown → Confirmed |
Changed in gnome-session (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
status: | Triaged → Fix Committed |
Changed in gnome-session (Ubuntu Yakkety): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in gnome-session (Ubuntu Zesty): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in gnome-online-accounts (Ubuntu Yakkety): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in gnome-online-accounts (Ubuntu Zesty): | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
Changed in gnome-session (Ubuntu Zesty): | |
status: | Triaged → Won't Fix |
Changed in gnome-session (Ubuntu Yakkety): | |
status: | Triaged → In Progress |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.