Re: Matlab & LD_LIBRARY_PATH



On Thu, 3 Aug 2006, Matthew Miller wrote:

On Wed, Aug 02, 2006 at 11:48:49PM -0400, David Scriven wrote:
One can set LD_LIBRARY_PATH manually - ie. from the prompt
and things work fine.

My guess that somewhere it is being UNSET, but I can't figure
out where. This happens on different machines running either
FC4 or FC5.

Something must be "sanitizing" it for security reasons. Interesting.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=164869

I recall running into this sometime around RH9. I thought I had filed a bug, but I can't find it now. I did find this, though:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=118262

And I wonder if the conclusion is relevant:

Comment #3 From Jason Vas Dias:
This bug is blocked by glibc bug 129682 - no setuid/setgid program
can obtain LD_LIBRARY_PATH from the environment of a non-owner
invoking user.

at could be converted to not require setuid/setgid bits to be set -
will work on this for next at version.

Comment #4 From Jason Vas Dias:
It seems the glibc developers consider this not a bug,
but a security feature that is unlikely to be changed.
So you'll just have to set LD_LIBRARY_PATH manually
in your at jobs - it won't be recorded from your
invoking environment if you are not root.

For the reader's convenience:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=129682

The question is, when logging in via the display manager, does something setuid/setgid get run after .bash_profile? Then, is there some startup script that gets run after that program that could set the environment?

In my experience, logging in not via the display manager results in LD_LIBRARY_PATH being set from .bash_profile as expected.

--
Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Equivalent of Cs "global/static" variables
    ... > This message, however, suggests a bug in CMUCL - whereas is perfectly ... > the particular non-null lexical environment it was given, ... what it actually says, in teh descriptuon for COMPILE, is: ...
    (comp.lang.lisp)
  • Re: Unable to compile printmonitorslocalui under W2K
    ... This is not a bug. ... The reason localui does not build under W2K is because it uses themed UI and fusion components which are available only on XP and forward. ... So you should use the W2K DDK version of localui if you want to build it for W2K. ... > print/monitors + build environment so I can develop a W2K localmon? ...
    (microsoft.public.development.device.drivers)
  • nautilus bug report (was: Recommend a file manager)
    ... but stop responding to keyboard very soon). ... Just now I stresses nautilus and could not get it to "not respond to the ... I can't file bug reports because my email smarthost setting is not working ... I tried to duplicate such environment one ...
    (Debian-User)
  • Re: Linux community software-update-anarchy polemic
    ... The example I had in mind was running in a VM environment that it was ... That would convey no useful information, ... How does the programmer correct a bug that has not shown up in his ... Unsolicited bulk E-mail will be subject to legal action. ...
    (comp.os.linux.misc)
  • Re: octave/lapack bug
    ... > Matthew Miller wrote: ... >> would be nice if Red Hat would release an update. ... and thanks for reopening the bug! ...
    (Fedora)