[Bug 47958] Re: ssh-agent clobbers LD_LIBRARY_PATH and other environment variables
Anders Kaseorg
47958 at bugs.launchpad.net
Thu Feb 17 07:55:38 UTC 2022
** Changed in: openssh (Ubuntu)
Status: Fix Released => Confirmed
--
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:
Confirmed
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