xref: /titanic_51/usr/src/cmd/gss/gssd/gss.xml (revision 89b43686db1fe9681d80a7cf5662730cb9378cae)
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 CDDL HEADER START
9
10 The contents of this file are subject to the terms of the
11 Common Development and Distribution License (the "License").
12 You may not use this file except in compliance with the License.
13
14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
15 or http://www.opensolaris.org/os/licensing.
16 See the License for the specific language governing permissions
17 and limitations under the License.
18
19 When distributing Covered Code, include this CDDL HEADER in each
20 file and include the License file at usr/src/OPENSOLARIS.LICENSE.
21 If applicable, add the following below this CDDL HEADER, with the
22 fields enclosed by brackets "[]" replaced with your own identifying
23 information: Portions Copyright [yyyy] [name of copyright owner]
24
25 CDDL HEADER END
26
27	NOTE:  This service manifest is not editable; its contents will
28	be overwritten by package or patch operations, including
29	operating system upgrade.  Make customizations in a different
30	file.
31
32	Service manifest for gss
33-->
34
35<service_bundle type='manifest' name='SUNWgssc:gss'>
36
37<service
38	name='network/rpc/gss'
39	type='service'
40	version='1'>
41
42	<create_default_instance enabled='false' />
43
44	<restarter>
45		<service_fmri value='svc:/network/inetd:default' />
46	</restarter>
47
48	<dependency name='rpcbind'
49	    grouping='require_all'
50	    restart_on='restart'
51	    type='service'>
52		<service_fmri value='svc:/network/rpc/bind' />
53	</dependency>
54
55	<dependency name='keyserv'
56		grouping='optional_all'
57		restart_on='none'
58		type='service'>
59		<service_fmri value='svc:/network/rpc/keyserv' />
60	</dependency>
61
62	<exec_method
63	    type='method'
64	    name='inetd_start'
65	    exec='/usr/lib/gss/gssd'
66	    timeout_seconds='0'>
67	    <method_context>
68		<method_credential
69			user='root'
70			group='nogroup'
71			privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,file_chown,file_dac_read,file_dac_write,proc_setid'
72			limit_privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,file_chown,file_dac_read,file_dac_write,proc_setid'
73		/>
74	    </method_context>
75	</exec_method>
76
77	<exec_method
78	    type='method'
79	    name='inetd_offline'
80	    exec=':kill_process'
81	    timeout_seconds='0'>
82	</exec_method>
83
84	<exec_method
85	    type='method'
86	    name='inetd_disable'
87	    exec=':kill'
88	    timeout_seconds='0'>
89	</exec_method>
90
91	<property_group name='inetd' type='framework'>
92		<stability value='Evolving' />
93		<propval name='endpoint_type' type='astring' value='tli' />
94		<propval name='name' type='astring' value='100234' />
95		<propval name='proto' type='astring' value='ticotsord' />
96        	<propval name='isrpc' type='boolean' value='true' />
97		<propval name='rpc_low_version' type='integer' value='1' />
98		<propval name='rpc_high_version' type='integer' value='1' />
99		<propval name='wait' type='boolean' value='true' />
100	</property_group>
101
102	<stability value='Unstable' />
103
104	<template>
105		<common_name>
106			<loctext xml:lang='C'>
107				Generic Security Service
108			</loctext>
109		</common_name>
110		<documentation>
111			<manpage title='gssd' section='1M'
112			    manpath='/usr/share/man' />
113		</documentation>
114	</template>
115
116</service>
117
118</service_bundle>
119