Dave Miner writes:
> Darren Reed wrote:
> ...
> > 
> > Personally, I don't care if the service is still doing
> > its start method or something else.  If disable (and -t)
> > are the only proper hooks to stop a service then that
> > is what I expect it to do, not futz around and pretend.
> > 
> 
> Did you try "-s" on svcadm (clearly you didn't in the script, but 
> outside of it)?  That should get you closer to what you're looking for 
> in terms of failure semantics.

Plus, filing a bug on the ntp service's apparent mishandling of
disable would probably be appropriate.  (I agree that killing off
ntpdate right away is the right answer.  There's no reason to wait for
that to finish if you're on your way down.)

-- 
James Carlson, KISS Network                    <james.d.carlson at sun.com>
Sun Microsystems / 1 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