Quoth Renaud Manus - RPE Approachability on Fri, Aug 25, 2006 at 03:14:06PM 
+0200:
> general/enabled and general/restarter are considered live properties
> because changes to them take effect immediately.  As such, if
> svccfg import notices that the properties have been changed in the
> manifest, it will refuse to 'upgrade' them in the repository.
> 
> Recent version of svccfg(1M) manpage says:
> 
> import file
> [...]
>       svccfg  will never upgrade the
>          "general/enabled"  and  "general/restarter"  properties,
>          since they represent administrator preference.
> 
> 
> You can change the "general/enabled" value using "svccfg apply"
> followed by "svcadm refresh".

This is true, and if you give svccfg -v, it should say "Refusing to
upgrade ... (live property)" when this happens.

I don't think this is happening in Mika's case, though.  In his case,
the original manifest probably had the service as disabled, too, in
which case that value was stored in the last-import snapshot (svcprop -s
last-import -p general/enabled should show this).  svccfg will compare
the last-import version with the current version, see that they are the
same, and move on, concluding that whatever the administrator has done
to the property should be left alone.  So I doubt svccfg -v would
indicate refusal to upgrade.


David

Reply via email to