On 5/3/07, Roland Mainz <roland.mainz at nrubsig.org> wrote:
> Chris Pickett wrote:
> [CC:'ing networking-discuss at opensolaris.org as some of the traffic went
> there...]
> > On 4/30/07, James Carlson <james.d.carlson at sun.com> wrote:
> > > Alan Coopersmith writes:
> > > > A while ago we switched /sbin/sh from Bourne to the new Korn shell
> > > > for our
> > > > OpenSolaris distribution and everything except network routing setup
> > > > works. A
> > > > closer look revealed that /lib/svc/method/net-routing-setup does not
> > > > work
> > > > without any error reported to the log file and a later network service
> > > > restart
> > > > brings the routing online again
> > >
> > > It's already been downgraded to a P3 RFE, as we've never made any
> > > promise that the script would work with ksh93.
> > >
> > > It's not clear, at least to me, and with the information given,
> > > whether this is indeed a problem in net-routing-setup, or if it's a
> > > problem in ksh93's compatibility with /sbin/sh.
> >
> > I submitted the report. I think the culprit is the the coding style in
> > the script which invites all sorts of problems, for example variables
> > are not quoted which leads to problems if the variable content
> > contains blanks, newline or other characters (*.?"'!\;:{})($%&) which
> > have a special meaning for the shell.
>
> AFAIK it's more likely that you build ksh93 the normal way and not with
> the adjusted builtin table which changes the builtin command bindings to
> match PSARC 2006/550. If the list of default builtins is not adjusted
> you may get a couple of weired effects (the same issue+bug in "uname"
> builtin hit Blastwave's "pkg-get" badly) ...
> ... is the script expected to run only when /usr is mounted ?
The script depends on commands in /usr/bin and will not work when /usr
is not mounted.
--
^---^
(@)v(@) Chris Pickett
| / IT consultant
===m==m=== pkchris at users.sourceforge.net