-------- Original Message -------- Subject: [smf-discuss] automatic repair From: Jordan Brown (Sun) <opensola...@jordan.maileater.net> To: smf-discuss at opensolaris.org Date: Wed Nov 07 2007 03:43:52 GMT+0100 (CET)
> We have a configuration script that basically does > > svcadm enable -s $ourservice > if the service is in maintenance mode > svcadm clear $ourservice > > in the hopes that the clear will bring the service online. > > My instinctive reaction is that the service shouldn't go into > maintenance mode in the first place if clearing it would repair it, and > so logic like this is not appropriate. > If the service goes into maintenance, it usually means that administrative action is required to fix the pb so trying to clear the maintenance state without doing anything is hopeless in this situation. -- Renaud