Bug#573325: openssh-client: ssh-agent strips LD_LIBRARY_PATH from user profile in X sessions
reassign 573325 x11-common
thanks
On Wed, Mar 10, 2010 at 05:03:55PM +0100, Julien Bigot wrote:
> ssh-agent as launched by /etc/X11/Xsession.d/90x11-common_ssh-agent is
> the parent of every user process in an X session however, ssh-agent is
> suid root and thus removes LD_LIBRARY_PATH from its environment as a
> result, setting LD_LIBRARY_PATH in your environement does not work for
> X sessions
>
> The second approach where ssh-agent generate shell commands should be
> used instead. With this approach it is not the father of other
> processes anymore.
I mostly tend to agree, although note that your alternative approach
makes it difficult to ensure that ssh-agent goes away when the X session
dies. Something would need to be done about that; I don't know what.
In any case, this file is shipped by x11-common rather than by
openssh-client, so reassigning there.
--
Colin Watson [cjwatson@debian.org]
Reply to: