[Bug 47958] Re: ssh-agent clobbers LD_LIBRARY_PATH and other environment variables
IsraeLins
47958 at bugs.launchpad.net
Fri Apr 13 20:35:30 UTC 2012
I forgot to say the source of this:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/366728/comments/17
--
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