lianep at eng.sun.com wrote:

>"Enda o'Connor - Sun Microsystems Ireland - Software Engineer" writes:
>  
>
>>Hi Christine
>>Mine was false to start with and now reports true, but initially I was 
>>unable to set it to true ( when it was false )
>>
>>svccfg -s system/zones setprop general/enabled  = true
>>whereas I had to use system/zones:default, ie specify the default, even 
>>though it was the only instance, man page does not have an example
>>
>>On my sparc system Iget
>># svccfg -s system/zones setprop general/enabled  = true
>>svccfg: Type required for new properties.
>># svccfg -s system/zones:default setprop general/enabled  = true
>>
>>So I have to use :default, but his is just unclear to me in general, I 
>>though as i had onnly  one instance of system/zones it would pick the 
>>default.
>>    
>>
>
>An instance's properties are "composed" from the service properties 
>plus those overridden on the instance.  Because "enabled" is usually 
>set instance-by-instance, the property tends to get created at the
>instance level, not the service level.
>
>Thus, when you tried to specify at the service level, svccfg told you 
>there's no such property, and to create it, you'd need to specify its 
>type.  But that wouldn't matter, as it's specified at the instance 
>level already, and will be overridden.  So, that's why when you set it 
>at the instance level (*with* :default), it worked.
>
>I'm hoping to create some simplified interfaces for property 
>modification that would handle cases like this for you -- expect a
>proposal here in the next few weeks.
>
>We continue to need svccfg's raw interface to the underlying model, but 
>are missing more of a "do what I mean" interface.  That interface
>is what I hope to propose.  :)
>
>liane
>  
>
Hi
Thanks to all those who repliedfor the explanations and help.

Starting to make sense for me.

regards
Enda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20060719/40efc23f/attachment.html>
  • [smf-discuss]... Enda o'Connor - Sun Microsystems Ireland - Software Engineer
    • [smf-dis... Christine Tran
      • [smf... Enda o'Connor - Sun Microsystems Ireland - Software Engineer
        • ... Christine Tran
          • ... Enda o'Connor - Sun Microsystems Ireland - Software Engineer
            • ... lia...@eng.sun.com
              • ... Enda o'Connor - Sun Microsystems Ireland - Software Engineer
              • ... Christine Tran
                • ... lia...@eng.sun.com
                • ... Wee Yeh Tan
          • ... lia...@eng.sun.com

Reply via email to