[Bug 47958] Re: ssh-agent clobbers LD_LIBRARY_PATH and other environment variables

axeoth 47958 at bugs.launchpad.net
Fri Dec 9 08:23:38 UTC 2011


This bug is still there in the latest (X)ubuntu 12.04 (development)
daily ISO.

Can someone change in /etc/X11/Xsession.options the line:

use-ssh-agent

to

no-use-ssh-agent

?

This is the workaround referenced above and it seems to work well.

-- 
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