New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix timeout with gnome-keyring 3.34 #223
Conversation
Keyring lifetime fd was removed from gnome-keyring in 2009 See "[daemon] Use new control protocol for daemon."
Launch gnome-keyring-daemon asynchronously, and remove the GNOME_KEYRING_PID reading code. GNOME_KEYRING_PID exposure was removed from gnome-keyring in 2014.
I can confirm that this fixes the problem in fedora-31-beta, but is this tested and save to use for older gnome versions? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works, fixes #222
I have tested over the 1.22 branch, no new warnings and it works.
NOTE: I didn't test with master
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I applied this patch to mate-session-manager
1.22.2 and tested on Ubuntu MATE 19.10 which ships with gnome-keyring
3.31.91, so doesn't currently exhibit the timeout. No new warnings that I could see and no regressions either 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On my Archlinux, it no longer display the dialog with at-spi-bus-launcher
and can be shutdown successfully.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't reproduce the issue in my Debian Testing VM, but gnome-keyring-daemon seems to start and run same as before.
Seems to work as before in Debian Stretch as well (gnome-keyring is 3.20.0 there). |
Launch gnome-keyring-daemon asynchronously, and remove the
GNOME_KEYRING_PID reading code.
GNOME_KEYRING_PID exposure was removed from gnome-keyring in 2014.