Managing System Services in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Naming Services, Instances, Property Groups, and Properties

Service and instance names must fit the following expression:

([A-Za-z0-9][_A-Za-z0-9.-]*,)?[A-Za-z0-9][_A-Za-z0-9.-]*

A service or instance name is case sensitive, must begin with an alphanumeric character, and can contain alphanumeric characters, the underscore (_), the hyphen (-), and the dot (.). To maintain backward compatibility, a single comma (,) is allowed between the first and last character.

Property group and property names must fit the following expression:

[A-Za-z0-9-._~:/?#\[\]@!$&'\(\)*+,;= %]+

A property group or property name is case sensitive and can contain alphanumeric characters, the hyphen (-), dot (.), underscore (_), tilde (~), colon (:), forward slash (/), question mark (?), pound character (#), square brackets ([ and ]), at sign (@), exclamation point (!), dollar sign ($), ampersand (&), single quotation mark ('), parentheses (( and )), asterisk (*), plus sign (+), comma (,), semicolon (;), equal sign (=), space, and percent sign (%).

In an FMRI, property group and property names are encoded according to Uniform Resource Identifier (URI) Generic Syntax RFC 3986 except that the comma character is not encoded.

A property group type is a category for this property group. Property group types include application, dependency, method, framework, implementation, and template. Additional property group types can be introduced, provided they conform to the extended naming convention in smf(5). Do not specify framework, implementation, or template as the type of your property group. Property groups of type framework, implementation, or template have special use in SMF. Property groups of type application are expected to be only of interest to the service to which this group is attached.