Print this page
7569 statd support to run on a fixed port
Portions contributed by: Paul Dagnelie <pcd@delphix.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Sebastien Roy <sebastien.roy@delphix.com>

@@ -31,21 +31,19 @@
         Note: if this service is modified to consist of anything other
         than a single instance named 'default', you must make changes to
         $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
 -->
 
+<!-- Copyright (c) 2016 by Delphix. All rights reserved. -->
+
 <service_bundle type='manifest' name='SUNWnfscr:nfs-status'>
 
 <service
         name='network/nfs/status'
         type='service'
         version='1'>
 
-        <create_default_instance enabled='false' />
-
-        <single_instance />
-
         <dependency name='network'
             grouping='require_any'
             restart_on='error'
             type='service'>
                 <service_fmri value='svc:/milestone/network' />

@@ -87,10 +85,16 @@
         <property_group name='application' type='framework'>
                 <stability value='Evolving' />
                 <propval name='auto_enable' type='boolean' value='true' />
         </property_group>
 
+        <instance name='default' enabled='false'>
+                <property_group name='nfs-props' type='com.oracle.nfs,props'>
+                        <propval name='statd_port' type='integer' value='0'/>
+                </property_group>
+        </instance>
+
         <stability value='Stable' />
 
         <template>
                 <common_name>
                         <loctext xml:lang='C'>