Ceri Davies writes:
> I've been bitten this morning by bug 6296119 "lsvcrun doesn't seem to
> honor #! interpreter specifications" which was closed as "Not a Defect"
> some time ago.  I'm about to beg to differ, although obviously I haven't
> seen why that was considered "not a defect".

It's "not a defect" because a reference to the S9 implementation of
/sbin/rc2 showed that it did this:

    76          for f in /etc/rc2.d/S*; do
    77                  if [ -s $f ]; then
    78                          case $f in
    79                                  *.sh)   .        $f ;;
    80                                  *)      /sbin/sh $f start ;;
    81                          esac
    82                  fi
    83          done

In other words, it simply has _never_ done what the user thought it
would do.

> I'd like to see bug 6296119 reopened, or an explanation of why the above
> isn't considered a defect, and then I'd like to request that someone
> sponsor me via the request-sponsor program to fix it.

Perhaps it could reasonably be considered an RFE, as long as the
person working on it realizes that such a fix will have some fairly
annoying portability issues.  In particular, any software designed to
take advantage of it won't work right on older versions of Solaris
and, after all, isn't that the _ONLY_ valid reason to be delivering an
rc script rather than an SMF service?

(I wouldn't bother with an enhancement like this, precisely because
it's just a compatibility feature, and because nothing new should have
these scripts.)

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to