Re: Regression: How to get gnome-keyring-daemon to run before gvfsd in the session
- From: Stef Walter <stef-list memberwebs com>
- To: "desktop-devel-list gnome org" <desktop-devel-list gnome org>
- Subject: Re: Regression: How to get gnome-keyring-daemon to run before gvfsd in the session
- Date: Sat, 11 Apr 2009 18:04:04 +0000 (UTC)
Stef Walter wrote:
> I need the help of a Desktop session genius (is there a gnome-session
> mailing list?).
>
> - gvfs has an SSH module which uses OpenSSH.
> - OpenSSH checks for the presence of the SSH_AUTH_SOCK environment
> variable in order to integrate with SSH agents.
> - gnome-keyring-daemon is started from by /etc/xdg/autostart
> - gnome-keyring-daemon sets the SSH_AUTH_SOCK environment variable.
> - gvfsd is auto started by DBus.
>
> The end result of the above is that the SSH_AUTH_SOCK environment
> variable is not set in gvfsd. This has regressed in GNOME 2.26.0
> however this may be a race condition or heisenbug.
Just a follow up.
After discussing this further in bugzilla [1] the "best" solution [2]
that came up was to have gvfsd-sftp get the SSH_AUTH_SOCK environment
variable from gnome-keyring and set it manually in its own process.
Architecturally this isn't pretty, but at least it fixes the problem.
Cheers,
Stef
[1] http://bugzilla.gnome.org/show_bug.cgi?id=577614
[2] http://bugzilla.gnome.org/show_bug.cgi?id=578708
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]