Hi Christine
Thanks, this worked for me,
svc:/system/zones> select default
svc:/system/zones:default> setprop general/enabled = boolean: true
svc:/system/zones:default> listprop general*
general          framework
general/enabled  boolean  true

I guess I could just run svcadm enable , but I was just getting confused 
and to be honest I still am confused by this intricacy.

Thanks for this

Enda
Christine Tran wrote:

> Hmm ...
>
> # svcs zones
> STATE          STIME    FMRI
> online         13:32:49 svc:/system/zones:default
>
> # svcprop -p general/enabled zones
> false
>
> # svcprop -p general/enabled zones:default
> false
>
> I don't know whether svcprop is reporting on 2 properties, of the 
> service, and of the instance; or whether it's assuming that I mean 
> zones:default, and reporting on the instance property of 
> zones:default; or neither, because:
>
> # svccfg -s zones
> svc:/system/zones> listprop general*
> general                   framework
> general/entity_stability  astring  Unstable
> general/single_instance   boolean  true
>
> svc:/system/zones> select default
> svc:/system/zones:default> listprop general*
> general          framework
> general/enabled  boolean  true
>
> The property general/enabled exists only in the instance, which 
> listprop reports as being "true", as reflected by the state of 
> zones:default being online.  So I have no idea where svcprop gets the 
> "false".  SMF team?
>
> Also, if you want to change this property, I'd imagine the way to set 
> is is something along the line of:
>
> > setprop general/enabled = boolean: true
>
> instead of the way you used.
>
> CT
>
>
>
>
> Enda o'Connor - Sun Microsystems Ireland - Software Engineer wrote On 
> 07/18/06 07:39,:
>
>> Hi
>> What am I doing wrong in this instance ( running  Solaris 10 6/06 on 
>> x86 )
>>
>> # svcprop -p general/enabled zones
>> false
>> #
>> # svccfg
>> svc:> select system/zones
>> svc:/system/zones> setprop general/enabled  = true
>> svc:/system/zones> quit
>> #
>> #svcadm refresh system/zones
>> # svcprop -p general/enabled zones
>> false
>> #
>> So still false?
>>
>> When I run the same on a SPARC system running  Solaris 10 6/06 I get
>> # svccfg -s system/zones setprop general/enabled  = true
>> svccfg: Type required for new properties.
>> #
>>
>>
>> But on the x86
>> # uname -a
>> SunOS warthog 5.10 Generic_118855-14 i86pc i386 i86pc
>> # svccfg -s system/zones setprop general/enabled  = true
>> # echo $?
>> 0
>> #
>> Yet it has no effect if I refresh the property is still false?
>>
>> Enda
>>
>>
>>
>>
>> _______________________________________________
>> smf-discuss mailing list
>> smf-discuss at opensolaris.org
>
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org




  • [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