On 3/7/07, Darren J Moffat <[EMAIL PROTECTED]> wrote:
William James wrote:
> On 3/7/07, Darren J Moffat <[EMAIL PROTECTED]> wrote:
>> William James wrote:
>> >> Nope.
>> >
>> > Less yuk, more hurray. But how can I fix the machine from shell if
>> > /usr/lib is not mountable?
>>
>> Look at the output all those libaries are in /lib.  /lib is a real
>> directory as of Solaris 10 not a symlink to /usr/lib as it was on
>> previous 5.x releases of SunOS.
>
> Why did you change that? Put /lib on the root fs?

It was part of the removal of all static libraries for core system
delivered libraries.

>>
>> Neither Apache 1.x or 2.x use bash on Solaris best I can tell, all the
>> scripts I can see for starting up httpd (the SMF method script and
>> apachectl and everything else in /usr/apache2/bin) all use /bin/sh.
>
> Using /bin/sh is so yuk. You guys really have problems with masochism :)

We have a very strong commitment to backwards compatibility in Solaris.
Nobody is forcing you or anyone else to use /bin/sh as your personal
users login shell, nor are you forced to write shell scripts in it.

This is not correct.
Writing a SMF plug in FORCES me to use /bin/sh.
Writing a script for /etc/init.d FORCES me to use /bin/sh
Changing /etc/profile FORCES me to make it /bin/sh compatible
Starting a shell from a system function like system() FORCES me to use
/bin/sh or start another shell.

Lets not make this a "my shell is better than your shell discussion" or
"shell XXX should be the default shell".  OpenSolaris aliases have had
too many of those already.

>> Are we talking about Sun's Solaris Express distribution of OpenSolaris
>> or are you running Nextena or some other distro ?
>
> Solaris 9,10 with Blastwave and Apache packages.

That then is a Blastwave issue not an OpenSolaris one.

The Apache 1.x and Apache 2.x both delivered in Solaris Express which is
an OpenSolaris distribution do NOT use bash.

>> >> What things are using the xpg version of sh during boot ?  I looked
>> and
>> >> couldn't find any.
>> >
>> > I don't know. I tried to rename it for testing a while ago and the
>> > machine hung on reboot. Maybe something calls system() and needs that
>> > shell.
>>
>> Rename what to what ?
>
> mv /usr/xpg4/bin/sh /usr/xpg4/bin/sh.bak

Why did you do that ?

I tried to strip my system make it small enough to fit on an USB stick.

Cheers,
William
--
   @,,@   William James
  (\--/)  [EMAIL PROTECTED]
 (.>__<.) GNU/Solaris hacker
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to