1 <?xml version='1.0'?>
   2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
   3 
   4 <!--
   5  Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   6  Use is subject to license terms.
   7 
   8  Copyright 2016 Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
   9 
  10  CDDL HEADER START
  11 
  12  The contents of this file are subject to the terms of the
  13  Common Development and Distribution License (the "License").
  14  You may not use this file except in compliance with the License.
  15 
  16  You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  17  or http://www.opensolaris.org/os/licensing.
  18  See the License for the specific language governing permissions
  19  and limitations under the License.
  20 
  21  When distributing Covered Code, include this CDDL HEADER in each
  22  file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  23  If applicable, add the following below this CDDL HEADER, with the
  24  fields enclosed by brackets "[]" replaced with your own identifying
  25  information: Portions Copyright [yyyy] [name of copyright owner]
  26 
  27  CDDL HEADER END
  28 
  29         NOTE:  This service manifest is not editable; its contents will
  30         be overwritten by package or patch operations, including
  31         operating system upgrade.  Make customizations in a different
  32         file.
  33 
  34         Service manifest for rpc.rusersd
  35 -->
  36 
  37 <service_bundle type='manifest' name='SUNWrcmdr:rusersd'>
  38 
  39 <service
  40         name='network/rpc/rusers'
  41         type='service'
  42         version='1'>
  43 
  44         <create_default_instance enabled='false' />
  45 
  46         <restarter>
  47                 <service_fmri value='svc:/network/inetd:default' />
  48         </restarter>
  49 
  50         <dependency name='rpcbind'
  51             grouping='require_all'
  52             restart_on='restart'
  53             type='service'>
  54                 <service_fmri value='svc:/network/rpc/bind' />
  55         </dependency>
  56 
  57         <exec_method
  58             type='method'
  59             name='inetd_start'
  60             exec='/usr/lib/netsvc/rusers/rpc.rusersd'
  61             timeout_seconds='0'>
  62                 <method_context>
  63                     <method_credential user='root' group='root' />
  64                 </method_context>
  65         </exec_method>
  66 
  67         <exec_method
  68                 type='method'
  69                 name='inetd_offline'
  70                 exec=':kill_process'
  71                 timeout_seconds='0'>
  72         </exec_method>
  73 
  74         <exec_method
  75             type='method'
  76             name='inetd_disable'
  77             exec=':kill'
  78             timeout_seconds='0'>
  79         </exec_method>
  80 
  81         <property_group name='inetd' type='framework'>
  82                 <stability value='Evolving' />
  83                 <propval name='name' type='astring' value='rusersd' />
  84                 <propval name='endpoint_type' type='astring' value='tli' />
  85                 <propval name='wait' type='boolean' value='true' />
  86                 <propval name='isrpc' type='boolean' value='true' />
  87                 <propval name='rpc_low_version' type='integer' value='2' />
  88                 <propval name='rpc_high_version' type='integer' value='3' />
  89                 <property name='proto' type='astring' override='true'>
  90                         <astring_list>
  91                                 <value_node value='datagram_v'/>
  92                                 <value_node value='circuit_v' />
  93                         </astring_list>
  94                 </property>
  95         </property_group>
  96 
  97         <property_group name='firewall_config' type='com.sun,fw_configuration'>
  98                 <propval name='policy' type='astring' value='use_global' />
  99                 <propval name='block_policy' type='astring'
 100                         value='use_global' />
 101                 <propval name='apply_to' type='astring' value='' />
 102                 <propval name='apply_to_6' type='astring' value='' />
 103                 <propval name='exceptions' type='astring' value='' />
 104                 <propval name='exceptions_6' type='astring' value='' />
 105                 <propval name='target' type='astring' value='' />
 106                 <propval name='target_6' type='astring' value='' />
 107                 <propval name='value_authorization' type='astring'
 108                         value='solaris.smf.value.firewall.config' />
 109         </property_group>
 110 
 111         <stability value='Unstable' />
 112 
 113         <template>
 114                 <common_name>
 115                         <loctext xml:lang='C'>
 116                                 network user name service
 117                         </loctext>
 118                 </common_name>
 119                 <documentation>
 120                         <manpage title='rpc.rusersd' section='1M'
 121                             manpath='/usr/share/man' />
 122                         <manpage title='rusersd' section='1M'
 123                             manpath='/usr/share/man' />
 124                 </documentation>
 125         </template>
 126 
 127 </service>
 128 
 129 </service_bundle>