[ksh93-integration-discuss] [Fwd: CR 6551714 Created P1 /lib/svc/method/net-routing-setup doesn't get along with ksh93=/sbin/sh]
Chris Pickett
pkchris at users.sourceforge.net
Mon Apr 30 13:06:31 PDT 2007
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.
Chris
--
^---^
(@)v(@) Chris Pickett
| / IT consultant
===m==m=== pkchris at users.sourceforge.net
More information about the ksh93-integration-discuss
mailing list