On 30/06/2008, Dennis Clarke <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 30, 2008 at 3:33 PM, Cedric Blancher
>  <[EMAIL PROTECTED]> wrote:
>  > On 30/06/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  >> Dennis,
>  >>
>  >>
>  >>  > With a stock out of the box OpenSolaris install I installed Studio 12 
> and ksh93
>  >>
>  >
>  > You don't need to install ksh93 on OpenSolaris. It's already
>  > preinstalled as /bin/sh.
>
>
> I think that was a *wrong* thing to do and thus I manually install the
>  shells that I want as I see fit. I pretty much expect that the default
>  shell in Solaris should be a statically linked binary such that I can
>  lose nearly everything and still have a working shell :
>
>  $ ls -lapin /sbin/sh
>        952 -r-xr-xr-x   2 0        0         239348 Mar  9  2006 /sbin/sh
>  $ file /sbin/sh
>  /sbin/sh:       ELF 32-bit LSB executable 80386 Version 1, statically
>  linked, stripped
>
>  I KNOW that Solaris 10 is a different beast from previous editions.
>  Solaris 10 is different how? Solaris 10 has a default Bourne Shell
>  /sbin/sh that is not statically linked anymore. This was done
>  intentionally when the single/multi threaded process model was unified
>  and the statically linked libc was removed. Solaris 10 commands in
>  /sbin should only link with things in /lib. There are symlinks in
>  /usr/lib to /lib for some libraries for backwards compatibility
>  reasons. In fact, Solaris 10 is so smart that both su and login will
>  fall back to /sbin/sh if the shell you specify in /etc/passwd for root
>  can not be executed for some reason. What I am saying here is that you
>  can change root's shell in Solaris 10 and still sleep well at night.
>
>  I don't know what OpenSolaris 200805 does in such events.

So what?
ldd /usr/bin/i86/ksh93 | grep usr/
        libshell.so.1 =>         /usr/lib/libshell.so.1
        libcmd.so.1 =>   /usr/lib/libcmd.so.1
        libdll.so.1 =>   /usr/lib/libdll.so.1
        libast.so.1 =>   /usr/lib/libast.so.1

Submit a bug to get all 4 libs relocated to /lib and done.
defect.opensolaris.org is your friend :)

Cedric
-- 
Cedric Blancher <[EMAIL PROTECTED]>
Institute Pasteur
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to