Re: open failed: illegal insecure pathname
- From: Rainer Beushausen <surfnasi@xxxxxx>
- Date: Wed, 19 Jul 2006 14:54:05 +0200
Dave (from the UK) wrote:
Some may recall the hassles I have with Mathematica on Solaris using
tons of CPU time which was caused by a change in Solaris 10 which I
understand will be patched at some point.
Casper *** wrote a bit of library code which I preloaded to change the
behavior of select. This I saved as select_preload.so
BUT
*Sometimes* Mathematical will fail to load the library, coming up with
this message in is "Error Console".
ld.so.1: prtconf: warning: /usr/lib/sparcv9/select_preload.so: open
failed: illegal insecure pathname
problem here is prtconf which is actually a setgid executable (64-bit
version):
ls -l /usr/sbin/sparcv9/prtconf
For setuid/setgid executables your preloaded code has to be read from a
trusted directory for secure ELF objects. One default trusted directory
for 64 bit is /usr/lib/secure/64. Try to load your
code from there or define your own trusted directory via
clre -64 -s
It would be much better to unset LD_PRELOAD before extern executables
get started because this code should only be used by mathematica.
Rainer
.
- Follow-Ups:
- Re: open failed: illegal insecure pathname
- From: Dave (from the UK)
- Re: open failed: illegal insecure pathname
- From: Oscar del Rio
- Re: open failed: illegal insecure pathname
- References:
- open failed: illegal insecure pathname
- From: Dave (from the UK)
- open failed: illegal insecure pathname
- Prev by Date: Re: Send mail with attached file
- Next by Date: Re: Send mail with attached file
- Previous by thread: open failed: illegal insecure pathname
- Next by thread: Re: open failed: illegal insecure pathname
- Index(es):