Print this page
5834 Remove dependency on sysidtool
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/cmd/rpcbind/bind.xml
+++ new/usr/src/cmd/rpcbind/bind.xml
1 1 <?xml version='1.0'?>
2 2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
3 3
4 4 <!--
5 5 CDDL HEADER START
6 6
7 7 The contents of this file are subject to the terms of the
8 8 Common Development and Distribution License (the "License").
9 9 You may not use this file except in compliance with the License.
10 10
11 11 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12 12 or http://www.opensolaris.org/os/licensing.
13 13 See the License for the specific language governing permissions
14 14 and limitations under the License.
|
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15
16 16 When distributing Covered Code, include this CDDL HEADER in each
17 17 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
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 2015 Nexenta Systems, Inc. All rights reserved.
25 -
25 + Copyright 2014 OmniTI Computer Consulting, Inc. All rights reserved.
26 26 Copyright 2009 Sun Microsystems, Inc. All rights reserved.
27 27 Use is subject to license terms.
28 28
29 29 Service manifest for rpcbind
30 30
31 31 NOTE: This service manifest is not editable; its contents will
32 32 be overwritten by package or patch operations, including
33 33 operating system upgrade. Make customizations in a different
34 34 file.
35 35 -->
36 36
37 37 <service_bundle type='manifest' name='SUNWcsr:rpcbind'>
38 38
39 39 <service
40 40 name='network/rpc/bind'
41 41 type='service'
42 42 version='1'>
43 43
44 44 <create_default_instance enabled='true' />
45 45
|
↓ open down ↓ |
10 lines elided |
↑ open up ↑ |
46 46 <single_instance />
47 47
48 48 <dependency
49 49 name='fs'
50 50 grouping='require_all'
51 51 restart_on='none'
52 52 type='service'>
53 53 <service_fmri value='svc:/system/filesystem/minimal' />
54 54 </dependency>
55 55
56 - <dependency
57 - name='sysidtool'
58 - grouping='require_all'
59 - restart_on='none'
60 - type='service'>
61 - <service_fmri
62 - value='svc:/system/sysidtool:net' />
63 - </dependency>
64 -
65 56 <!--
66 57 rpcbind(1M) depends on multicast routes installed by the
67 58 routing-setup service, and should be started after any IPsec
68 59 policy is configured and TCP ndd tunables are set (both
69 60 currently carried out by network/initial).
70 61 -->
71 62 <dependency
72 63 name='network_initial'
73 64 grouping='optional_all'
74 65 restart_on='none'
75 66 type='service'>
76 67 <service_fmri value='svc:/network/routing-setup:default' />
77 68 <service_fmri value='svc:/network/initial:default' />
78 69 </dependency>
79 70
80 71 <dependency
81 72 name='network_ipfilter'
82 73 grouping='optional_all'
83 74 restart_on='none'
84 75 type='service'>
85 76 <service_fmri value='svc:/network/ipfilter:default' />
86 77 </dependency>
87 78
88 79 <exec_method
89 80 type='method'
90 81 name='start'
91 82 exec='/lib/svc/method/rpc-bind %m'
92 83 timeout_seconds='60'>
93 84 <method_context>
94 85 <method_credential
95 86 user='root'
96 87 group='root'
97 88 privileges='basic,file_chown,file_chown_self,file_owner,net_privaddr,proc_setid,sys_nfs,net_bindmlp'
98 89 />
99 90 </method_context>
100 91 </exec_method>
101 92
102 93 <exec_method
103 94 type='method'
104 95 name='refresh'
105 96 exec=':kill -HUP'
106 97 timeout_seconds='0'>
107 98 </exec_method>
108 99
109 100 <exec_method
110 101 type='method'
111 102 name='stop'
112 103 exec='/lib/svc/method/rpc-bind %m %{restarter/contract}'
113 104 timeout_seconds='60'>
114 105 <method_context>
115 106 <method_credential
116 107 user='root'
117 108 group='root'
118 109 privileges='basic,proc_owner'
119 110 />
120 111 </method_context>
121 112 </exec_method>
122 113
123 114 <property_group name='config' type='application' >
124 115 <!-- default property settings for rpcbind(1M). -->
125 116
126 117 <!-- enable_tcpwrappers affects the wrapping of rpcbind,
127 118 see rpcbind(1M) and tcpd(1M) for details.
128 119 The default value is 'false'.
129 120 A values of 'true' results in wrapping all UDP/TCP
130 121 calls to the portmapper with libwrap. Note that
131 122 rpcbind(1M) will not resolve or lookup names while
132 123 doing tcp wrapper processing.
133 124 -->
134 125 <propval
135 126 name='enable_tcpwrappers'
136 127 type='boolean'
137 128 value='false' />
138 129
139 130 <!-- verbose_logging affects the amount of information
140 131 which is logged by the tcpwrapper code.
141 132 The default is 'false'.
142 133 This property has no effect when tcp wrappers are not
143 134 enabled.
144 135 -->
145 136 <propval
146 137 name='verbose_logging'
147 138 type='boolean'
148 139 value='false' />
149 140
150 141 <!-- allow_indirect affects the forwarding of RPC calls
151 142 indirect rpcbind calls using rpcb_rmtcall(3NSL).
152 143 The default value is 'true'. By default this is allowed
153 144 for all services except for a handful.
154 145 A value of 'false' stops all indirect calls. This will
155 146 also disable broadcast rpc. NIS broadcast clients rely
156 147 on this functionality to exist on NIS servers.
157 148 -->
158 149 <propval
159 150 name='allow_indirect'
160 151 type='boolean'
161 152 value='true' />
162 153
163 154 <!-- local_only specifies whether rpcbind should allow
164 155 calls from hosts other than the localhost.
165 156 Setting local_only to true will make rpcbind serve
166 157 only those requests that come in from the local machine.
167 158 Setting local_only to false will allow access from
168 159 other hosts.
169 160 -->
170 161 <propval
171 162 name='local_only'
172 163 type='boolean'
173 164 value='true' />
174 165
175 166 <!-- to configure rpc/bind -->
176 167 <propval name='value_authorization' type='astring'
177 168 value='solaris.smf.value.rpc.bind' />
178 169
179 170 <propval
180 171 name='listen_backlog'
181 172 type='integer'
182 173 value='64' />
183 174
184 175 <propval
185 176 name='max_threads'
186 177 type='integer'
187 178 value='72' />
188 179 </property_group>
189 180
190 181 <!-- Authorization -->
191 182 <property_group name='general' type='framework'>
192 183 <!-- to operate rpc/bind -->
193 184 <propval name='action_authorization' type='astring'
194 185 value='solaris.smf.manage.rpc.bind' />
195 186 </property_group>
196 187
197 188 <property_group name='firewall_context' type='com.sun,fw_definition'>
198 189 <propval name='name' type='astring' value='sunrpc' />
199 190 </property_group>
200 191
201 192 <property_group name='firewall_config' type='com.sun,fw_configuration'>
202 193 <propval name='policy' type='astring' value='use_global' />
203 194 <propval name='apply_to' type='astring' value='' />
204 195 <propval name='exceptions' type='astring' value='' />
205 196 <propval name='value_authorization' type='astring'
206 197 value='solaris.smf.value.firewall.config' />
207 198 </property_group>
208 199
209 200 <stability value='Unstable' />
210 201
211 202 <template>
212 203 <common_name>
213 204 <loctext xml:lang='C'>
214 205 RPC bindings
215 206 </loctext>
216 207 </common_name>
217 208 <documentation>
218 209 <manpage title='rpcbind' section='1M'
219 210 manpath='/usr/share/man' />
220 211 </documentation>
221 212 </template>
222 213
223 214 </service>
224 215
225 216 </service_bundle>
|
↓ open down ↓ |
151 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX