Anurag S. Maskey wrote:
> general/enabled vs. restarter/state
> 
> Which of these two properties is used to determine if a service is 
> enabled or not? 
> 
> network/service should exit on start if network/physical:nwam is 
> running.  However, I've noticed that there are services that are 
> general/enabled=false, but restarter/state=online (example 
> svc:/system/console-login:vt2 on trigati). So, is this service running?  
> what property am I checking to determine if a different service is 
> running or not?

This is an annoying bug.

general/enabled is 'special'.  We always use the most recent copy of the 
property, not the one from the running snapshot.

Thus, if you're getting the property with svcprop, use the -c option and 
you'll see that general/enabled is really true.

Sigh.  There's a bug open to hide this from the user, who should be 
shielded from this implementation wart: 6234283.

liane

Reply via email to