xref: /onnv-gate/usr/src/cmd/gss/gssd/gss.xml (revision 9763:f3625f8d14f3)
10Sstevel@tonic-gate<?xml version='1.0'?>
20Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
30Sstevel@tonic-gate
40Sstevel@tonic-gate<!--
5*9763SPeter.Shoults@Sun.COM Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
60Sstevel@tonic-gate Use is subject to license terms.
70Sstevel@tonic-gate
80Sstevel@tonic-gate CDDL HEADER START
90Sstevel@tonic-gate
100Sstevel@tonic-gate The contents of this file are subject to the terms of the
11*9763SPeter.Shoults@Sun.COM Common Development and Distribution License (the "License").
12*9763SPeter.Shoults@Sun.COM You may not use this file except in compliance with the License.
130Sstevel@tonic-gate
140Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
150Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
160Sstevel@tonic-gate See the License for the specific language governing permissions
170Sstevel@tonic-gate and limitations under the License.
180Sstevel@tonic-gate
190Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
200Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
210Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
220Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
230Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
240Sstevel@tonic-gate
250Sstevel@tonic-gate CDDL HEADER END
260Sstevel@tonic-gate
270Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
280Sstevel@tonic-gate	be overwritten by package or patch operations, including
290Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
300Sstevel@tonic-gate	file.
310Sstevel@tonic-gate
320Sstevel@tonic-gate	Service manifest for gss
330Sstevel@tonic-gate-->
340Sstevel@tonic-gate
350Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWgssc:gss'>
360Sstevel@tonic-gate
370Sstevel@tonic-gate<service
380Sstevel@tonic-gate	name='network/rpc/gss'
390Sstevel@tonic-gate	type='service'
400Sstevel@tonic-gate	version='1'>
410Sstevel@tonic-gate
420Sstevel@tonic-gate	<create_default_instance enabled='false' />
430Sstevel@tonic-gate
440Sstevel@tonic-gate	<restarter>
450Sstevel@tonic-gate		<service_fmri value='svc:/network/inetd:default' />
460Sstevel@tonic-gate	</restarter>
470Sstevel@tonic-gate
480Sstevel@tonic-gate	<dependency name='rpcbind'
490Sstevel@tonic-gate	    grouping='require_all'
500Sstevel@tonic-gate	    restart_on='restart'
510Sstevel@tonic-gate	    type='service'>
520Sstevel@tonic-gate		<service_fmri value='svc:/network/rpc/bind' />
530Sstevel@tonic-gate	</dependency>
540Sstevel@tonic-gate
550Sstevel@tonic-gate	<dependency name='keyserv'
560Sstevel@tonic-gate		grouping='optional_all'
570Sstevel@tonic-gate		restart_on='none'
580Sstevel@tonic-gate		type='service'>
590Sstevel@tonic-gate		<service_fmri value='svc:/network/rpc/keyserv' />
600Sstevel@tonic-gate	</dependency>
610Sstevel@tonic-gate
620Sstevel@tonic-gate	<exec_method
630Sstevel@tonic-gate	    type='method'
640Sstevel@tonic-gate	    name='inetd_start'
650Sstevel@tonic-gate	    exec='/usr/lib/gss/gssd'
660Sstevel@tonic-gate	    timeout_seconds='0'>
670Sstevel@tonic-gate	    <method_context>
680Sstevel@tonic-gate		<method_credential
690Sstevel@tonic-gate			user='root'
70*9763SPeter.Shoults@Sun.COM			group='nogroup'
71*9763SPeter.Shoults@Sun.COM			privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,file_chown,file_dac_read,file_dac_write,proc_setid'
72*9763SPeter.Shoults@Sun.COM			limit_privileges='basic,!file_link_any,!proc_info,!proc_session,net_privaddr,file_chown,file_dac_read,file_dac_write,proc_setid'
730Sstevel@tonic-gate		/>
740Sstevel@tonic-gate	    </method_context>
750Sstevel@tonic-gate	</exec_method>
760Sstevel@tonic-gate
770Sstevel@tonic-gate	<exec_method
780Sstevel@tonic-gate	    type='method'
790Sstevel@tonic-gate	    name='inetd_offline'
800Sstevel@tonic-gate	    exec=':kill_process'
810Sstevel@tonic-gate	    timeout_seconds='0'>
820Sstevel@tonic-gate	</exec_method>
830Sstevel@tonic-gate
840Sstevel@tonic-gate	<exec_method
850Sstevel@tonic-gate	    type='method'
860Sstevel@tonic-gate	    name='inetd_disable'
870Sstevel@tonic-gate	    exec=':kill'
880Sstevel@tonic-gate	    timeout_seconds='0'>
890Sstevel@tonic-gate	</exec_method>
900Sstevel@tonic-gate
910Sstevel@tonic-gate	<property_group name='inetd' type='framework'>
920Sstevel@tonic-gate		<stability value='Evolving' />
930Sstevel@tonic-gate		<propval name='endpoint_type' type='astring' value='tli' />
940Sstevel@tonic-gate		<propval name='name' type='astring' value='100234' />
950Sstevel@tonic-gate		<propval name='proto' type='astring' value='ticotsord' />
960Sstevel@tonic-gate        	<propval name='isrpc' type='boolean' value='true' />
970Sstevel@tonic-gate		<propval name='rpc_low_version' type='integer' value='1' />
980Sstevel@tonic-gate		<propval name='rpc_high_version' type='integer' value='1' />
990Sstevel@tonic-gate		<propval name='wait' type='boolean' value='true' />
1000Sstevel@tonic-gate	</property_group>
1010Sstevel@tonic-gate
1020Sstevel@tonic-gate	<stability value='Unstable' />
1030Sstevel@tonic-gate
1040Sstevel@tonic-gate	<template>
1050Sstevel@tonic-gate		<common_name>
1060Sstevel@tonic-gate			<loctext xml:lang='C'>
1070Sstevel@tonic-gate				Generic Security Service
1080Sstevel@tonic-gate			</loctext>
1090Sstevel@tonic-gate		</common_name>
1100Sstevel@tonic-gate		<documentation>
1110Sstevel@tonic-gate			<manpage title='gssd' section='1M'
1120Sstevel@tonic-gate			    manpath='/usr/share/man' />
1130Sstevel@tonic-gate		</documentation>
1140Sstevel@tonic-gate	</template>
1150Sstevel@tonic-gate
1160Sstevel@tonic-gate</service>
1170Sstevel@tonic-gate
1180Sstevel@tonic-gate</service_bundle>
119