Brian Kolaci wrote:
> James Carlson wrote:
>> David Bustos writes:
>>   
>>> Doesn't get executed when?  /etc/rc2.d/K* scripts should only be
>>> executed when transitioning from runlevels 3 or 4 to runlevel 2.
>>> I assume you want scripts to be executed on shutdown or reboot, in which
>>> case you need to place the script in /etc/rc0.d .
>>>     
>>
>> Some other operating systems seem to iterate through the run levels on
>> the way up and down.  Perhaps the customer is confused about how
>> Solaris operates ...
>>
>>   
> I asked him to move them to rc3.d (where it made sense as to where they
> would better belong) while I checked why something got broken moving to S10.
> I have a feeling that he's still not following my recommendations.
> I believe he's copying files from the global zone to local zones, but
> in the wrong places.  I've asked for his pkgmap (still don't have it)
> to verify where his "working package" placed the start/stop script.

According to some notes of mine:
Kill scripts in rc3.d are run during a boot.
But Kill scripts in rc3 are _not_ executed during a _shutdown_.
Note also that Kill scripts in rc2.d are *never* executed;
unless you do an 'init 2'

I am pretty sure that this has not changed in a long time.

HTH,

=wb

> I've asked to have the package installed directly in the zone rather
> than in the global zone with a lofs mount.
> 
> We'll see when he gets back to me...
> 
> Thanks...
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org

Reply via email to