Sun Cluster 3.1 Data Services Developer's Guide

Validating the Service Before Starting

Before it attempts to start the X Font Server, the xfnts_start method calls svc_validate to verify that a proper configuration is in place to support the xfs daemon (see The xfnts_validate Method for details), as follows.

Example 8–3

rc = svc_validate(scds_handle);
   if (rc != 0) {
          "Failed to validate configuration.");
      return (rc);