Roland Mainz wrote:
 > Is it a bug or a feature that /usr/bin/svcprop reports "astring_list" as
 > an "astring" ?

   Neither :)  There's no such thing as an "astring_list".

 > For example "nss_mdns_config/domain" is declared as "astring_list" in
 > 
http://src.opensolaris.org./source/xref/onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/multicast.xml
 > but /usr/bin/svcprop returns:
 > -- snip --
 > $ /usr/bin/svcprop '*multicast*' | fgrep local
 > nss_mdns_config/domain astring local b.e.f.ip6.arpa a.e.f.ip6.arpa
 > 9.e.f.ip6.arpa 8.e.f.ip6.arpa 254.169.in-addr.arpa
 > -- snip --

   nss_mdns_config/domain is defined to be of type astring in
   multicast.xml:

     <property name='domain' type='astring'>

   "astring_list" is simply how a list of multiple astrings is
   represented in our XML schema.

   We don't have separate "XXX" and "XXX array" types in SMF.  A
   property of type XXX can have multiple values; for most properties,
   the number of values is 1.

   Dave


Reply via email to