Why not to make a separate little script /etc/X11/xinit.d/ssh-agent that does the same thing with ssh-agent as Xsession now and is provided by openssh-clients? --- ---
I see now that the bug report was not eleborate: the way /etc/X11/xinit.d/* scripts are called from Xsession doesn\'t allow the requested change because they are not sourced, but executed in the background, so the chnages in the environment made by the scripts will not be saved. Maybe the requested feature doesn\'t fit well in the policy of xinit.d/ scripts, so it isn\'t a bug.
Implemented in: xinitrc-2.4.6-alt1 openssh-clients-3.0.2p1-alt3 (sourcing shell scripts from /etc/X11/profile.d)