hi Tom

> So, I dump out all the properties for my service and see it has this 
> additional 
> general_ovr value, but yet when I try the reboot the service still comes up 
> disabled. > I don't see anything it its log to indicate there was a problem.
>
> Am I mis-understanding the -t option? 

you're dead right about the general_ovr/enabled property, but bear in mind
the value it's overriding is general/enabled, so if this is set to false also 
(as
it would be after importing a service with disabled instances), all
the "svcadm disable -t" is doing is overriding a persistent "disabled" value 
with
one that does not persist across reboot. adding a 
"svccfg -s <instance_fmri> setprop general/enabled = true" after 
the temporary disable should do the trick.

however, in your situation it might be preferable to add an entry to the 
site.xml profile for your service enabling it instead (this will be applied on 
reboot i believe).

alan
 
 
This message posted from opensolaris.org

Reply via email to