David Bustos wrote: > Quoth Brian Utterback on Fri, Apr 27, 2007 at 01:32:28PM -0400: >> The daemon in question is xntpd. If xntpd decides that the offset is >> greater than some threshold, instead of correcting it, it prints an >> error message and exits. The intent was that a human needs to respond >> and decide how to fix the problem. >> >> That was fine up until Solaris 10. With Solaris 10 the restarter will >> see that xntpd has exited and then re-start it. The start up method >> runs ntpdate, which does not have the threshold and will set the clock. >> The xntpd deamon then starts up and goes on its merry way. So, to go >> back to the previous behavior, we want the restarter to not restart >> xntpd. So, that's why we want to go into maintenance mode. > > Ok. You should invoke smf_maintain_instance() with SMF_TEMPORARY, and > then sleep until SMF kills you. > > > David
Perfect, just what I needed to know. Thanks. -- blu "When Congress started Daylight Savings Time earlier, did they even consider what affect an extra hour of daylight would have on global warming? Well, did they?" ---------------------------------------------------------------------- Brian Utterback - Solaris RPE, Sun Microsystems, Inc. Ph:877-259-7345, Em:brian.utterback-at-ess-you-enn-dot-kom