xref: /titanic_41/usr/src/lib/libresolv2/client.xml (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1*7c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
2*7c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3*7c478bd9Sstevel@tonic-gate<!--
4*7c478bd9Sstevel@tonic-gate	Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
5*7c478bd9Sstevel@tonic-gate	Use is subject to license terms.
6*7c478bd9Sstevel@tonic-gate
7*7c478bd9Sstevel@tonic-gate	ident	"%Z%%M%	%I%	%E% SMI"
8*7c478bd9Sstevel@tonic-gate
9*7c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
10*7c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
11*7c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
12*7c478bd9Sstevel@tonic-gate	file.
13*7c478bd9Sstevel@tonic-gate-->
14*7c478bd9Sstevel@tonic-gate
15*7c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcsr:dns-client'>
16*7c478bd9Sstevel@tonic-gate
17*7c478bd9Sstevel@tonic-gate<service
18*7c478bd9Sstevel@tonic-gate	name='network/dns/client'
19*7c478bd9Sstevel@tonic-gate	type='service'
20*7c478bd9Sstevel@tonic-gate	version='1'>
21*7c478bd9Sstevel@tonic-gate
22*7c478bd9Sstevel@tonic-gate	<create_default_instance enabled='false' />
23*7c478bd9Sstevel@tonic-gate
24*7c478bd9Sstevel@tonic-gate	<single_instance />
25*7c478bd9Sstevel@tonic-gate
26*7c478bd9Sstevel@tonic-gate	<dependency
27*7c478bd9Sstevel@tonic-gate	    name='usr'
28*7c478bd9Sstevel@tonic-gate	    grouping='require_all'
29*7c478bd9Sstevel@tonic-gate	    restart_on='none'
30*7c478bd9Sstevel@tonic-gate	    type='service'>
31*7c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/filesystem/minimal' />
32*7c478bd9Sstevel@tonic-gate	</dependency>
33*7c478bd9Sstevel@tonic-gate
34*7c478bd9Sstevel@tonic-gate	<!--
35*7c478bd9Sstevel@tonic-gate	  Wait for potential DHCP modification of resolv.conf.
36*7c478bd9Sstevel@tonic-gate	-->
37*7c478bd9Sstevel@tonic-gate	<dependency
38*7c478bd9Sstevel@tonic-gate	    name='net'
39*7c478bd9Sstevel@tonic-gate	    grouping='require_all'
40*7c478bd9Sstevel@tonic-gate	    restart_on='none'
41*7c478bd9Sstevel@tonic-gate	    type='service'>
42*7c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/service' />
43*7c478bd9Sstevel@tonic-gate	</dependency>
44*7c478bd9Sstevel@tonic-gate
45*7c478bd9Sstevel@tonic-gate	<dependency
46*7c478bd9Sstevel@tonic-gate	    name='config_data'
47*7c478bd9Sstevel@tonic-gate	    grouping='require_all'
48*7c478bd9Sstevel@tonic-gate	    restart_on='none'
49*7c478bd9Sstevel@tonic-gate	    type='path'>
50*7c478bd9Sstevel@tonic-gate		<service_fmri
51*7c478bd9Sstevel@tonic-gate		    value='file://localhost/etc/resolv.conf' />
52*7c478bd9Sstevel@tonic-gate	</dependency>
53*7c478bd9Sstevel@tonic-gate
54*7c478bd9Sstevel@tonic-gate	<dependency
55*7c478bd9Sstevel@tonic-gate	    name='loopback'
56*7c478bd9Sstevel@tonic-gate	    grouping='require_any'
57*7c478bd9Sstevel@tonic-gate	    restart_on='error'
58*7c478bd9Sstevel@tonic-gate	    type='service'>
59*7c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/loopback' />
60*7c478bd9Sstevel@tonic-gate	</dependency>
61*7c478bd9Sstevel@tonic-gate
62*7c478bd9Sstevel@tonic-gate	<dependency
63*7c478bd9Sstevel@tonic-gate	    name='network'
64*7c478bd9Sstevel@tonic-gate	    grouping='optional_all'
65*7c478bd9Sstevel@tonic-gate	    restart_on='error'
66*7c478bd9Sstevel@tonic-gate	    type='service'>
67*7c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/milestone/network' />
68*7c478bd9Sstevel@tonic-gate	</dependency>
69*7c478bd9Sstevel@tonic-gate
70*7c478bd9Sstevel@tonic-gate	<exec_method
71*7c478bd9Sstevel@tonic-gate	    type='method'
72*7c478bd9Sstevel@tonic-gate	    name='start'
73*7c478bd9Sstevel@tonic-gate	    exec=':true'
74*7c478bd9Sstevel@tonic-gate	    timeout_seconds='10' />
75*7c478bd9Sstevel@tonic-gate
76*7c478bd9Sstevel@tonic-gate	<exec_method
77*7c478bd9Sstevel@tonic-gate	    type='method'
78*7c478bd9Sstevel@tonic-gate	    name='stop'
79*7c478bd9Sstevel@tonic-gate	    exec=':true'
80*7c478bd9Sstevel@tonic-gate	    timeout_seconds='10' />
81*7c478bd9Sstevel@tonic-gate
82*7c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
83*7c478bd9Sstevel@tonic-gate
84*7c478bd9Sstevel@tonic-gate	<template>
85*7c478bd9Sstevel@tonic-gate		<common_name>
86*7c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
87*7c478bd9Sstevel@tonic-gate				DNS resolver
88*7c478bd9Sstevel@tonic-gate			</loctext>
89*7c478bd9Sstevel@tonic-gate		</common_name>
90*7c478bd9Sstevel@tonic-gate		<documentation>
91*7c478bd9Sstevel@tonic-gate			<manpage title='resolver' section='3RESOLV'
92*7c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
93*7c478bd9Sstevel@tonic-gate		</documentation>
94*7c478bd9Sstevel@tonic-gate	</template>
95*7c478bd9Sstevel@tonic-gate
96*7c478bd9Sstevel@tonic-gate</service>
97*7c478bd9Sstevel@tonic-gate
98*7c478bd9Sstevel@tonic-gate</service_bundle>
99