Casper.Dik at sun.com wrote:
> 
> >I don't know that I can argue for ksh93 versus any other shell,
> >but adding /sbin/ksh93 at least gives us one modern, more feature-rich
> >alternative to the bourne shell (/sbin/sh), for use as the root shell,
> >in JumpStart scripts, or in single-user mode, when dealing with filesystem
> >problems.
> 
> I don't think that's a strong enough reason:
> 
>         - you can already use any shell as root shell; is /usr isn't
>         mounted /sbin/sh is used instead.

Do you mean replacing "root"'s login shell in /etc/passwd with any shell
? Where is this documented (AFAIK the recommentation over all the years
was "... don't do that. Never. Don't touch it or your system will
explode (sooner or later) ...") ?

>         By this reasoning, we should add bash/zsh/tcsh/csh there too.

Is any of { bash, zsh, tcsh, csh } POSIX-conformant by default (ksh93
isn't perfect in this case either but at least it is one of the choices
which is very close to the specs) ?

>         If you have a separate /usr, well, you pretty much deserve the
>         barebones system you get.

It is still the default configuration in the installer to create a
seperate "/usr" filesystem (and still needed for diskless client setups
or when /usr should live on ZFS/QFS or simply another physical disk).
And you forgot the jumpstart case (like I did... and I usually try to
forget this immediately again because it is usually a pain to deal with
/sbin/sh when you write POSIX-like shell scripts most of the time) ...

> And I also suggest we move all ksh93 libaries to /usr/lib with
> the needed exception of libcmd.

<blink><marquee>DEFINATELY NO</marquee></blink>. At some point we will
have followup projects and many of them (like SMF) simply need libshell
in the root filesystem because the consumers live there, too. Moving
libshell or any of the libraries needed by it to /usr/lib would kill
most of the follow-up projects. And this would neither help programmers,
users, admins or writers of jumpstart/startup scripts.

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to