Re: problems with startup script on upgrade

From: "Martin A(dot) Marques" <martin(at)math(dot)unl(dot)edu(dot)ar>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: problems with startup script on upgrade
Date: 2001-03-16 22:55:12
Message-ID: 01031619551209.20898@math.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

El Vie 16 Mar 2001 19:35, Tom Lane escribió:
> "Martin A. Marques" <martin(at)math(dot)unl(dot)edu(dot)ar> writes:
> > Now, libz.so is in the LD_LIBRARY_PATH of the postgres user, so why is it
> > that Solaris doesn't load the .profile in the postgres directory.
>
> Ah, but is the LD_LIBRARY_PATH the same inside that su? A change of
> environment might explain why this works "by hand" and not through su
> ...

This #$^%^*$%¤ Solaris!!!!!!
Check this out, and tell me I shouldn't yell out at SUN:

root(at)ultra31 / # su - postgres -c 'echo $PATH'
/usr/bin:
root(at)ultra31 / # su - postgres
postgres(at)ultra31:~ > echo $PATH
/usr/local/bin:/usr/local/gcc/bin:/usr/local/php/bin:/opt/sfw/bin:/usr/local/a2p/bin:/usr/local/sql/bin:/usr/ccs/bin:/bin:/usr/bin/X11:/usr/bin:/usr/ucb:/dbs/postgres/bin:
postgres(at)ultra31:~ > logout
root(at)ultra31 / #

Can someone explain to why Solaris is doing that, and why did it start doing
it after an upgrade? I have no words.

--
System Administration: It's a dirty job,
but someone told me I had to do it.
-----------------------------------------------------------------
Martín Marqués email: martin(at)math(dot)unl(dot)edu(dot)ar
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-03-16 22:56:47 Re: Stuck spins in current
Previous Message Tom Lane 2001-03-16 22:53:44 Re: beta6 packaged ...