Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to write a SMF manifest but i'm stuck because i can't find the complete documentation. Their DTD (/usr/share/lib/xml/dtd/service_bundle.dtd.1) is a joke, it's full of CDATA.

For instance, i'm looking for the complete specification for <service_fmri/>, which value attributes are valid, etc.

Where can i find the complete specification for writing Solaris SMF manifests ?

Thanks.

share|improve this question

1 Answer 1

The DTD looks fine on my system. The only attribute to service_fmri is "value".

<!--
  service_fmri

    This element defines a reference to a service FMRI (for either a
    service or an instance).

    Its attribute is

        value   The FMRI.
-->

<!ELEMENT service_fmri EMPTY>

<!ATTLIST service_fmri
        value           CDATA #REQUIRED>

Oh...I see you wanted what are valid FMRI values. Start at the smf(5) man page for that kind of reference.

share|improve this answer
    
The DTD is bad, because the value is note described. The manpage is empty about the value scheme, for example, there's nothing about the different URL schemes svc:// file:// etc. Hence my question. –  Benoît Jan 11 '11 at 8:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.