[Xfce-bugs] [Bug 6073] xinitrc replaces gnome-keyring SSH_AUTH_SOCK with ssh-agent

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sat Dec 12 21:17:11 CET 2009


http://bugzilla.xfce.org/show_bug.cgi?id=6073

--- Comment #1 from Brian J. Tarricone <bjt23 at cornell.edu> 2009-12-12 12:17:10 PST ---
Hmm, the problem is that there isn't a good way to check that the auth sock is
actually valid and isn't a stale env var left over from something else.

The xinitrc script in master tries a "kill -0 $SSH_AGENT_PID" to see if the
agent is actually running.  If we don't know the PID, and only have the socket,
there's no way to tell if it's good or not.  (Of course, the 4.6 script doesn't
even check that much, but in theory it should.)  I'm not really comfortable
with this patch, but I don't have a better idea to fix it on our end.  Ideally,
gkr should set SSH_AGENT_PID as well, and that would fix the problem, but they
may have a good reason to avoid setting it.

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list