Oracle® Solaris 11.2 Release Notes

Exit Print View

Updated: May 2015
 
 

svccfg validate Command Fails on a Split Manifest (15891161)

With proper multiple manifest support delivered in Oracle Solaris, the svccfg validate command should no longer warn about missing required property groups. However, the svccfg validate command fails on a split manifest.

This issue occurs when the instance delivering the manifest does not validate correctly without service methods which are defined at the service level in a separate manifest. The following error message might be displayed:

$ svccfg validate /lib/svc/manifest/system/console-login-vts.xml
Required property group missing: FMRI="svc:/system/console-login:vt6"; 
Name of missing property group="start"; Type of missing property group="method"; 
Template source="svc:/system/svc/restarter:default"; 
pg_pattern name="start"; pg_pattern type="method"

Required property group missing: FMRI="svc:/system/console-login:vt6"; 
Name of missing property group="stop"; Type of missing property group="method"; 
Template source="svc:/system/svc/restarter:default"; 
pg_pattern name="stop"; pg_pattern type="method"

Required property group missing: FRI="svc:/system/console-login:vt5"; 
Name of missing property group="start"; Type of missing property group="method"; 
Template source="svc:/system/svc/restarter:default"; 
pg_pattern name="start"; pg_pattern type="method"

Required property group missing: FMRI="svc:/system/console-login:vt2"; 
Name of missing property group="stop"; Type of missing property group="method"; 
Template source="svc:/system/svc/restarter:default"; 
pg_pattern name="stop"; pg_pattern type="method"

svccfg: Validation failed.

The warning is displayed in the manifest-import service log file rather than on the console. The warning is not fatal and does not prevent the import of the instance. Once the instance is imported, you can successfully validate the instance manually by using the svccfg validate command.

Workaround: Avoid using the svccfg validate command on split manifests.