On 04/22/11 05:05 AM, William Schumann wrote:
On 04/21/11 08:10 PM, Dave Miner wrote:
On 04/21/11 05:39 AM, William Schumann wrote:
Fix in sample SC profile: sc_sample.xml

The hostname is henceforth set in:

service: name=system/identity
instance: name=node
property group: name=config
propval: name=nodename

Changed comment to indicate that the sample will install hostname
'solaris'.

Verified.

http://cr.opensolaris.org/~wmsch/bug-7037229/


William, your change is OK, though I'd note a general point in this
whole example file that the type attribute for propvals is not
required in a profile (and really shouldn't be used so that there
isn't the possibility of disagreement with the service manifest that
defines them and any resulting weird behavior), so I would like to see
them removed in order to provide a more concise and correct example.

There are a number of deficiencies discovered recently with the
lxml.etree.DTD method used by installadm to validate against an external
DTD, one of which is that it requires the type attribute in all cases.
ICT apply_sysconfig_profile uses 'svccfg apply -n' to validate, although
this feature is undocumented. I am completing a fix that replaces this
method with svccfg. The plan is to remove the type attribute from the
examples at that time.
William

OK, hadn't seen that bug filed yet but sounds good.

Dave
_______________________________________________
caiman-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/caiman-discuss

Reply via email to