xref: /titanic_52/usr/src/lib/libresolv2/install.xml (revision 9b5bf10ab04b9be5564d70a57980cfb68b6372e7)
1*9b5bf10aSMark Haywood<?xml version="1.0"?>
2*9b5bf10aSMark Haywood<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*9b5bf10aSMark Haywood<!--
4*9b5bf10aSMark Haywood Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
5*9b5bf10aSMark Haywood
6*9b5bf10aSMark Haywood CDDL HEADER START
7*9b5bf10aSMark Haywood
8*9b5bf10aSMark Haywood The contents of this file are subject to the terms of the
9*9b5bf10aSMark Haywood Common Development and Distribution License (the "License").
10*9b5bf10aSMark Haywood You may not use this file except in compliance with the License.
11*9b5bf10aSMark Haywood
12*9b5bf10aSMark Haywood You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
13*9b5bf10aSMark Haywood or http://www.opensolaris.org/os/licensing.
14*9b5bf10aSMark Haywood See the License for the specific language governing permissions
15*9b5bf10aSMark Haywood and limitations under the License.
16*9b5bf10aSMark Haywood
17*9b5bf10aSMark Haywood When distributing Covered Code, include this CDDL HEADER in each
18*9b5bf10aSMark Haywood file and include the License file at usr/src/OPENSOLARIS.LICENSE.
19*9b5bf10aSMark Haywood If applicable, add the following below this CDDL HEADER, with the
20*9b5bf10aSMark Haywood fields enclosed by brackets "[]" replaced with your own identifying
21*9b5bf10aSMark Haywood information: Portions Copyright [yyyy] [name of copyright owner]
22*9b5bf10aSMark Haywood
23*9b5bf10aSMark Haywood CDDL HEADER END
24*9b5bf10aSMark Haywood
25*9b5bf10aSMark Haywood	NOTE:  This service manifest is not editable; its contents will
26*9b5bf10aSMark Haywood	be overwritten by package or patch operations, including
27*9b5bf10aSMark Haywood	operating system upgrade.  Make customizations in a different
28*9b5bf10aSMark Haywood	file.
29*9b5bf10aSMark Haywood-->
30*9b5bf10aSMark Haywood
31*9b5bf10aSMark Haywood<service_bundle type='manifest' name='SUNWcsr:dns-install'>
32*9b5bf10aSMark Haywood
33*9b5bf10aSMark Haywood<service
34*9b5bf10aSMark Haywood	name='network/dns/install'
35*9b5bf10aSMark Haywood	type='service'
36*9b5bf10aSMark Haywood	version='1'>
37*9b5bf10aSMark Haywood
38*9b5bf10aSMark Haywood	<create_default_instance enabled='false' />
39*9b5bf10aSMark Haywood
40*9b5bf10aSMark Haywood	<single_instance />
41*9b5bf10aSMark Haywood
42*9b5bf10aSMark Haywood	<dependency
43*9b5bf10aSMark Haywood		name='filesystem'
44*9b5bf10aSMark Haywood		grouping='require_all'
45*9b5bf10aSMark Haywood		restart_on='none'
46*9b5bf10aSMark Haywood		type='service'>
47*9b5bf10aSMark Haywood		<service_fmri value='svc:/system/filesystem/root' />
48*9b5bf10aSMark Haywood		<service_fmri value='svc:/system/filesystem/usr' />
49*9b5bf10aSMark Haywood		<service_fmri value='svc:/system/filesystem/minimal' />
50*9b5bf10aSMark Haywood	</dependency>
51*9b5bf10aSMark Haywood
52*9b5bf10aSMark Haywood	<dependent name='network-service'
53*9b5bf10aSMark Haywood		grouping='optional_all'
54*9b5bf10aSMark Haywood		restart_on='none'>
55*9b5bf10aSMark Haywood		<service_fmri value='svc:/network/service' />
56*9b5bf10aSMark Haywood	</dependent>
57*9b5bf10aSMark Haywood
58*9b5bf10aSMark Haywood	<dependent name='dns-client'
59*9b5bf10aSMark Haywood		grouping='optional_all'
60*9b5bf10aSMark Haywood		restart_on='none'>
61*9b5bf10aSMark Haywood		<service_fmri value='svc:/network/dns/client' />
62*9b5bf10aSMark Haywood	</dependent>
63*9b5bf10aSMark Haywood
64*9b5bf10aSMark Haywood	<exec_method
65*9b5bf10aSMark Haywood		type='method'
66*9b5bf10aSMark Haywood		name='start'
67*9b5bf10aSMark Haywood		exec='/lib/svc/method/dns-install'
68*9b5bf10aSMark Haywood		timeout_seconds='30' />
69*9b5bf10aSMark Haywood
70*9b5bf10aSMark Haywood	<exec_method
71*9b5bf10aSMark Haywood		type='method'
72*9b5bf10aSMark Haywood		name='stop'
73*9b5bf10aSMark Haywood		exec=':true'
74*9b5bf10aSMark Haywood		timeout_seconds='0' />
75*9b5bf10aSMark Haywood
76*9b5bf10aSMark Haywood	<property_group name='startd' type='framework'>
77*9b5bf10aSMark Haywood		<propval name='duration' type='astring' value='transient' />
78*9b5bf10aSMark Haywood	</property_group>
79*9b5bf10aSMark Haywood
80*9b5bf10aSMark Haywood	<property_group name='install_props' type='application'>
81*9b5bf10aSMark Haywood		<property name='nameserver' type='net_address'>
82*9b5bf10aSMark Haywood			<net_address_list>
83*9b5bf10aSMark Haywood				<value_node value='0.0.0.0' />
84*9b5bf10aSMark Haywood			</net_address_list>
85*9b5bf10aSMark Haywood		</property>
86*9b5bf10aSMark Haywood		<propval name='domain' type='astring' value='' />
87*9b5bf10aSMark Haywood		<property name='search' type='astring'>
88*9b5bf10aSMark Haywood			<astring_list>
89*9b5bf10aSMark Haywood				<value_node value='' />
90*9b5bf10aSMark Haywood			</astring_list>
91*9b5bf10aSMark Haywood		</property>
92*9b5bf10aSMark Haywood	</property_group>
93*9b5bf10aSMark Haywood
94*9b5bf10aSMark Haywood	<stability value='Unstable' />
95*9b5bf10aSMark Haywood
96*9b5bf10aSMark Haywood	<template>
97*9b5bf10aSMark Haywood		<common_name>
98*9b5bf10aSMark Haywood			<loctext xml:lang='C'>
99*9b5bf10aSMark Haywood				DNS resolver install
100*9b5bf10aSMark Haywood			</loctext>
101*9b5bf10aSMark Haywood		</common_name>
102*9b5bf10aSMark Haywood		<documentation>
103*9b5bf10aSMark Haywood			<manpage title='resolver' section='3RESOLV'
104*9b5bf10aSMark Haywood				manpath='/usr/share/man' />
105*9b5bf10aSMark Haywood		</documentation>
106*9b5bf10aSMark Haywood		<pg_pattern name='install_props' type='application'
107*9b5bf10aSMark Haywood		    target='this' required='false'>
108*9b5bf10aSMark Haywood			<description> <loctext xml:lang='C'>
109*9b5bf10aSMark Haywood			    Install derived configuration data used to configure an initial DNS client.
110*9b5bf10aSMark Haywood			 </loctext> </description>
111*9b5bf10aSMark Haywood			<prop_pattern name='nameserver' type='net_address'
112*9b5bf10aSMark Haywood			    required='true'>
113*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
114*9b5bf10aSMark Haywood				    The value used to construct the "nameserver" directive in resolv.conf(4).
115*9b5bf10aSMark Haywood				</loctext> </description>
116*9b5bf10aSMark Haywood				<cardinality min='1' max='3'/>
117*9b5bf10aSMark Haywood			</prop_pattern>
118*9b5bf10aSMark Haywood			<prop_pattern name='domain' type='astring'
119*9b5bf10aSMark Haywood			    required='false'>
120*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
121*9b5bf10aSMark Haywood				    The value used to construct the "domain" directive in resolv.conf(4).
122*9b5bf10aSMark Haywood				</loctext> </description>
123*9b5bf10aSMark Haywood				<cardinality min='1' max='1'/>
124*9b5bf10aSMark Haywood			</prop_pattern>
125*9b5bf10aSMark Haywood			<prop_pattern name='search' type='astring'
126*9b5bf10aSMark Haywood			    required='false'>
127*9b5bf10aSMark Haywood				<description> <loctext xml:lang='C'>
128*9b5bf10aSMark Haywood				    The value used to construct the "search" directive in resolv.conf(4).
129*9b5bf10aSMark Haywood				</loctext> </description>
130*9b5bf10aSMark Haywood				<cardinality min='1' max='6'/>
131*9b5bf10aSMark Haywood			</prop_pattern>
132*9b5bf10aSMark Haywood		</pg_pattern>
133*9b5bf10aSMark Haywood	</template>
134*9b5bf10aSMark Haywood
135*9b5bf10aSMark Haywood</service>
136*9b5bf10aSMark Haywood
137*9b5bf10aSMark Haywood</service_bundle>
138