On 30/06/2008, Dennis Clarke <[EMAIL PROTECTED]> wrote: > On Mon, Jun 30, 2008 at 4:06 PM, Cedric Blancher > > <[EMAIL PROTECTED]> wrote: > > 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 > > > > > you missed the point > > as a user I get to choose whatever shell I want .. static ? who cares ? I > don't. > > as root I expect the same behavior I have seen for a decade and that > is what I don't get with OpenSolaris. > Do you wish to make a leap backward to get the 40y old bourne shell back? Much attractiveness of OpenSolaris will be gone if we have to patch our sources to avoid /bin/sh again.
Cedric -- Cedric Blancher <[EMAIL PROTECTED]> Institute Pasteur _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
