Print this page
7577 mountd 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/server.xml
          +++ new/usr/src/cmd/fs.d/nfs/svc/server.xml
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   If applicable, add the following below this CDDL HEADER, with the
  19   19   fields enclosed by brackets "[]" replaced with your own identifying
  20   20   information: Portions Copyright [yyyy] [name of copyright owner]
  21   21  
  22   22   CDDL HEADER END
  23   23  
  24   24          Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
  25   25          Copyright (c) 2012 by Delphix. All rights reserved.
  26   26          Copyright 2014 Nexenta Systems, Inc.  All rights reserved
  27   27          Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
       28 +        Copyright (c) 2012, 2014 by Delphix. All rights reserved.
  28   29  
  29   30          NOTE:  This service manifest is not editable; its contents will
  30   31          be overwritten by package or patch operations, including
  31   32          operating system upgrade.  Make customizations in a different
  32   33          file.
  33   34  
  34   35          Note: if this service is modified to consist of anything other
  35   36          than a single instance named 'default', you must make changes to
  36   37          $SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock().
  37   38  -->
↓ open down ↓ 107 lines elided ↑ open up ↑
 145  146          <property_group name='application' type='framework'>
 146  147                  <stability value='Evolving' />
 147  148                  <propval name='auto_enable' type='boolean' value='true' />
 148  149          </property_group>
 149  150  
 150  151          <property_group name='firewall_context' type='com.sun,fw_definition'>
 151  152                  <propval name='name' type='astring' value='nfsd' />
 152  153                  <propval name='ipf_method' type='astring'
 153  154                      value='/lib/svc/method/nfs-server ipfilter' />
 154  155          </property_group>
 155      - 
      156 +
 156  157          <property_group name='firewall_config' type='com.sun,fw_configuration'>
 157  158                  <propval name='policy' type='astring' value='use_global' />
 158  159                  <propval name='block_policy' type='astring'
 159  160                          value='use_global' />
 160  161                  <propval name='apply_to' type='astring' value='' />
 161  162                  <propval name='apply_to_6' type='astring' value='' />
 162  163                  <propval name='exceptions' type='astring' value='' />
 163  164                  <propval name='exceptions_6' type='astring' value='' />
 164  165                  <propval name='target' type='astring' value='' />
 165  166                  <propval name='target_6' type='astring' value='' />
↓ open down ↓ 5 lines elided ↑ open up ↑
 171  172             <propval name='device' type='astring' value=''/>
 172  173             <propval name='listen_backlog' type='integer' value='32'/>
 173  174             <propval name='max_connections' type='integer' value='-1'/>
 174  175             <propval name='protocol' type='astring' value='ALL'/>
 175  176             <propval name='server_delegation' type='astring' value='on'/>
 176  177             <propval name='server_versmax' type='integer' value='4'/>
 177  178             <propval name='server_versmin' type='integer' value='2'/>
 178  179             <propval name='servers' type='integer' value='1024'/>
 179  180             <propval name='mountd_listen_backlog' type='integer' value='64'/>
 180  181             <propval name='mountd_max_threads' type='integer' value='16'/>
      182 +           <propval name='mountd_port' type='integer' value='0'/>
 181  183           </property_group>
 182  184          </instance>
 183  185  
 184  186          <stability value='Stable' />
 185  187  
 186  188          <template>
 187  189                  <common_name>
 188  190                          <loctext xml:lang='C'>
 189  191                                  NFS server
 190  192                          </loctext>
 191  193                  </common_name>
 192  194                  <documentation>
 193  195                          <manpage title='nfsd' section='1M'
 194  196                                  manpath='/usr/share/man' />
 195  197                  </documentation>
 196  198          </template>
 197  199  </service>
 198  200  
 199  201  </service_bundle>
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX