Nicolas Williams writes:
> I should point out, I suppose, that [KS]*.sh scripts lose their ability
> to affect the rest of the system anyways in an SMF world.  There's no
> way that one could expect such a script to affect the environment of
> non-legacy services.
> 
> So I think this is a bug that could reasonably be closed as WNF.

Correct.  As /etc/init.d/README puts it:

  On earlier Solaris releases, a script named with a suffix of '.sh' would
  be sourced, allowing scripts to modify the environment of other scripts
  executed later.  This behavior is no longer supported; for altering the
  environment in which services are run, refer to the SMF documentation.

In other words, undocumented feature is now just gone.

-- 
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