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>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/nfs/svc/status.xml
          +++ new/usr/src/cmd/fs.d/nfs/svc/status.xml
↓ open down ↓ 25 lines elided ↑ open up ↑
  26   26          NOTE:  This service manifest is not editable; its contents will
  27   27          be overwritten by package or patch operations, including
  28   28          operating system upgrade.  Make customizations in a different
  29   29          file.
  30   30  
  31   31          Note: if this service is modified to consist of anything other
  32   32          than a single instance named 'default', you must make changes to
  33   33          $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  34   34  -->
  35   35  
       36 +<!-- Copyright (c) 2016 by Delphix. All rights reserved. -->
       37 +
  36   38  <service_bundle type='manifest' name='SUNWnfscr:nfs-status'>
  37   39  
  38   40  <service
  39   41          name='network/nfs/status'
  40   42          type='service'
  41   43          version='1'>
  42   44  
  43      -        <create_default_instance enabled='false' />
  44      -
  45      -        <single_instance />
  46      -
  47   45          <dependency name='network'
  48   46              grouping='require_any'
  49   47              restart_on='error'
  50   48              type='service'>
  51   49                  <service_fmri value='svc:/milestone/network' />
  52   50          </dependency>
  53   51  
  54   52          <dependency name='rpcbind'
  55   53              grouping='require_all'
  56   54              restart_on='restart'
↓ open down ↓ 25 lines elided ↑ open up ↑
  82   80                  <propval name='name' type='astring' value='status' />
  83   81                  <propval name='ipf_method' type='astring'
  84   82                          value='/lib/svc/method/nfs-server ipfilter' />
  85   83          </property_group>
  86   84  
  87   85          <property_group name='application' type='framework'>
  88   86                  <stability value='Evolving' />
  89   87                  <propval name='auto_enable' type='boolean' value='true' />
  90   88          </property_group>
  91   89  
       90 +        <instance name='default' enabled='false'>
       91 +                <property_group name='nfs-props' type='com.oracle.nfs,props'>
       92 +                        <propval name='statd_port' type='integer' value='0'/>
       93 +                </property_group>
       94 +        </instance>
       95 +
  92   96          <stability value='Stable' />
  93   97  
  94   98          <template>
  95   99                  <common_name>
  96  100                          <loctext xml:lang='C'>
  97  101                                  NFS status monitor
  98  102                          </loctext>
  99  103                  </common_name>
 100  104                  <documentation>
 101  105                          <manpage title='statd' section='1M'
 102  106                                  manpath='/usr/share/man' />
 103  107                  </documentation>
 104  108          </template>
 105  109  </service>
 106  110  
 107  111  </service_bundle>
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX