1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
6 The contents of this file are subject to the terms of the
7 Common Development and Distribution License (the "License").
8 You may not use this file except in compliance with the License.
10 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 or http://www.opensolaris.org/os/licensing.
12 See the License for the specific language governing permissions
13 and limitations under the License.
15 When distributing Covered Code, include this CDDL HEADER in each
16 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 If applicable, add the following below this CDDL HEADER, with the
18 fields enclosed by brackets "[]" replaced with your own identifying
19 information: Portions Copyright [yyyy] [name of copyright owner]
23 NOTE: This service manifest is not editable; its contents will
24 be overwritten by package or patch operations, including
25 operating system upgrade. Make customizations in a different
28 Service manifest for the ISC DHCP Relay service.
31 Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
33 <service_bundle type='manifest' name='isc-dhcp:relay'>
35 <service name='network/dhcp/relay' type='service' version='1'>
38 We historically ran only in run-level 3, so depend on the
39 equivalent milestone to level 2. We restart on refresh in
40 order to handle any changes to nameservice or filesystem
41 or other service configuration which may affect DHCP service.
43 <dependency name='multi-user'
44 grouping='require_all'
47 <service_fmri value='svc:/milestone/multi-user'/>
51 Running both DHCP flavors on a system is not supported - either
54 <dependency name='dhcp-server'
55 grouping='exclude_all'
58 <service_fmri value='svc:/network/dhcp-server'/>
61 <exec_method type='method' name='start'
62 exec='/lib/svc/method/isc-dhcp' timeout_seconds='60'>
64 <method_credential user='dhcpserv' group='netadm'
65 privileges='basic,net_rawaccess,net_icmpaccess,net_privaddr,sys_ip_config'/>
69 <exec_method type='method' name='stop' exec=':kill'
70 timeout_seconds='60'/>
72 <exec_method type='method' name='refresh' exec=':true'
73 timeout_seconds='60'/>
75 <property_group name='firewall_context' type='com.sun,fw_definition'>
76 <propval name='name' type='astring' value='bootps'/>
79 <property_group name='firewall_config' type='com.sun,fw_configuration'>
80 <propval name='policy' type='astring' value='use_global'/>
81 <propval name='apply_to' type='astring' value=''/>
82 <propval name='exceptions' type='astring' value=''/>
83 <propval name='value_authorization' type='astring'
84 value='solaris.smf.value.firewall.config'/>
87 <property_group name='general' type='framework'>
88 <!-- to start stop dhcp services -->
89 <propval name='action_authorization' type='astring'
90 value='solaris.smf.manage.dhcp' />
91 <propval name='value_authorization' type='astring'
92 value='solaris.smf.manage.dhcp' />
95 <instance name='ipv4' enabled='false'>
96 <property_group name='config' type='application'>
97 <propval name='debug' type='boolean' value='false'/>
98 <propval name='append_agent_option' type='boolean'
100 <property name='servers' type='astring'>
102 <value_node value=''/>
105 <property name='listen_ifnames' type='astring' >
107 <value_node value=''/>
110 <propval name='value_authorization' type='astring'
111 value='solaris.smf.value.dhcp' />
115 <instance name='ipv6' enabled='false'>
116 <property_group name='config' type='application'>
117 <propval name='debug' type='boolean' value='false'/>
118 <property name='receive_query_links' type='astring'>
120 <value_node value=''/>
123 <property name='forward_query_links' type='astring'>
125 <value_node value=''/>
128 <propval name='value_authorization' type='astring'
129 value='solaris.smf.value.dhcp' />
133 <stability value='Unstable'/>
137 <loctext xml:lang='C'>
142 <loctext xml:lang='C'>
143 ISC DHCP Relay service relays DHCP and BOOTP requests from one subnet with no DHCP server to another subnet with a DHCP server.
147 <manpage title='dhcrelay' section='1M'
148 manpath='/usr/share/man'/>