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

_______________________________________________
desktop-devel-list mailing list
desktop-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to