[Bug 47958] Re: ssh-agent clobbers LD_LIBRARY_PATH and other environment variables
Hibou57 (Yannick Duchêne)
yannick_duchene at yahoo.fr
Tue Nov 1 22:20:48 UTC 2011
For people seeking for a workaround, there is one in message #21 of this other similar bug report:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/366728
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/47958
Title:
ssh-agent clobbers LD_LIBRARY_PATH and other environment variables
Status in “openssh” package in Ubuntu:
Triaged
Status in “openssh” package in Debian:
New
Bug description:
Since /usr/bin/ssh-agent is setgid ssh, it unsets LD_LIBRARY_PATH.
This made it impossible to set this variable in my dotfiles
(.gnomerc).
My solution was to write a wrapper script that prefixes the command with /usr/bin/env VAR=val ... for each variable that gets unset:
<http://anders.kaseorg.com/pub/patches/ssh-agent>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/47958/+subscriptions
More information about the foundations-bugs
mailing list