xref: /titanic_44/usr/src/cmd/cvcd/cvc.xml (revision e3320f40ba20e6851e73a3237eedf089700bf001)
17c478bd9Sstevel@tonic-gate<?xml version="1.0"?>
27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
37c478bd9Sstevel@tonic-gate<!--
4*e3320f40Smarkfen Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
57c478bd9Sstevel@tonic-gate Use is subject to license terms.
67c478bd9Sstevel@tonic-gate
77c478bd9Sstevel@tonic-gate CDDL HEADER START
87c478bd9Sstevel@tonic-gate
97c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the
10314609f3Smb158278 Common Development and Distribution License (the "License").
11314609f3Smb158278 You may not use this file except in compliance with the License.
127c478bd9Sstevel@tonic-gate
137c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
147c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing.
157c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions
167c478bd9Sstevel@tonic-gate and limitations under the License.
177c478bd9Sstevel@tonic-gate
187c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each
197c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE.
207c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the
217c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying
227c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner]
237c478bd9Sstevel@tonic-gate
247c478bd9Sstevel@tonic-gate CDDL HEADER END
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gate	ident	"%Z%%M%	%I%	%E% SMI"
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gate	NOTE:  This service manifest is not editable; its contents will
297c478bd9Sstevel@tonic-gate	be overwritten by package or patch operations, including
307c478bd9Sstevel@tonic-gate	operating system upgrade.  Make customizations in a different
317c478bd9Sstevel@tonic-gate	file.
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gate	Service manifest for cvcd.
347c478bd9Sstevel@tonic-gate-->
357c478bd9Sstevel@tonic-gate
367c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWcvcr.u:cvcd'>
377c478bd9Sstevel@tonic-gate
387c478bd9Sstevel@tonic-gate<service name='system/cvc' type='service' version='1'>
397c478bd9Sstevel@tonic-gate
407c478bd9Sstevel@tonic-gate	<create_default_instance enabled='false' />
417c478bd9Sstevel@tonic-gate
427c478bd9Sstevel@tonic-gate	<single_instance />
437c478bd9Sstevel@tonic-gate
447c478bd9Sstevel@tonic-gate	<dependency
457c478bd9Sstevel@tonic-gate	    name='network'
467c478bd9Sstevel@tonic-gate	    grouping='require_all'
477c478bd9Sstevel@tonic-gate	    restart_on='none'
487c478bd9Sstevel@tonic-gate	    type='service'>
497c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/network/loopback' />
507c478bd9Sstevel@tonic-gate	</dependency>
517c478bd9Sstevel@tonic-gate
52*e3320f40Smarkfen	<!-- sckmd is required on OPL and Starcat but not Starfire -->
537c478bd9Sstevel@tonic-gate	<dependency
54*e3320f40Smarkfen	    name='sckmd'
55*e3320f40Smarkfen	    grouping='optional_all'
56314609f3Smb158278	    restart_on='none'
57314609f3Smb158278	    type='service'>
58*e3320f40Smarkfen		<service_fmri value='svc:/platform/sun4u/sckmd' />
59314609f3Smb158278	</dependency>
60314609f3Smb158278
61314609f3Smb158278	<dependency
62314609f3Smb158278	    name='cryptosvc'
63314609f3Smb158278	    grouping='require_all'
64314609f3Smb158278	    restart_on='none'
65314609f3Smb158278	    type='service'>
66314609f3Smb158278		<service_fmri value='svc:/system/cryptosvc' />
67314609f3Smb158278	</dependency>
68314609f3Smb158278
69314609f3Smb158278	<dependency
707c478bd9Sstevel@tonic-gate	    name='nodename'
717c478bd9Sstevel@tonic-gate	    grouping='require_all'
727c478bd9Sstevel@tonic-gate	    restart_on='none'
737c478bd9Sstevel@tonic-gate	    type='service'>
747c478bd9Sstevel@tonic-gate		<service_fmri value='svc:/system/identity:node' />
757c478bd9Sstevel@tonic-gate	</dependency>
767c478bd9Sstevel@tonic-gate
779b684ba4Smb158278	<dependency
789b684ba4Smb158278	    name='filesystem_usr'
799b684ba4Smb158278	    grouping='require_all'
809b684ba4Smb158278	    restart_on='none'
819b684ba4Smb158278	    type='service'>
829b684ba4Smb158278		<service_fmri value='svc:/system/filesystem/usr' />
839b684ba4Smb158278	</dependency>
849b684ba4Smb158278
857c478bd9Sstevel@tonic-gate	<exec_method
867c478bd9Sstevel@tonic-gate	    type='method'
877c478bd9Sstevel@tonic-gate	    name='start'
887c478bd9Sstevel@tonic-gate	    exec='/lib/svc/method/svc-cvcd'
897c478bd9Sstevel@tonic-gate	    timeout_seconds='60' />
907c478bd9Sstevel@tonic-gate
917c478bd9Sstevel@tonic-gate	<exec_method
927c478bd9Sstevel@tonic-gate	    type='method'
937c478bd9Sstevel@tonic-gate	    name='stop'
947c478bd9Sstevel@tonic-gate	    exec=':kill -9'
957c478bd9Sstevel@tonic-gate	    timeout_seconds='60' />
967c478bd9Sstevel@tonic-gate
972eaee53eSmb158278	<!-- these are passed to cvcd in the method script -->
982eaee53eSmb158278	<property_group name='cvc' type='application'>
992eaee53eSmb158278		<propval name='ah_auth' type='astring' value='md5' />
1002eaee53eSmb158278		<propval name='esp_encr' type='astring' value='none' />
1012eaee53eSmb158278		<propval name='esp_auth' type='astring' value='none' />
1022eaee53eSmb158278	</property_group>
1032eaee53eSmb158278
1047c478bd9Sstevel@tonic-gate	<stability value='Unstable' />
1057c478bd9Sstevel@tonic-gate
1067c478bd9Sstevel@tonic-gate	<template>
1077c478bd9Sstevel@tonic-gate		<common_name>
1087c478bd9Sstevel@tonic-gate			<loctext xml:lang='C'>
1097c478bd9Sstevel@tonic-gate				network virtual console
1107c478bd9Sstevel@tonic-gate			</loctext>
1117c478bd9Sstevel@tonic-gate		</common_name>
1127c478bd9Sstevel@tonic-gate
1137c478bd9Sstevel@tonic-gate		<documentation>
1147c478bd9Sstevel@tonic-gate			<manpage title='cvcd' section='1M'
1157c478bd9Sstevel@tonic-gate				manpath='/usr/share/man' />
1167c478bd9Sstevel@tonic-gate		</documentation>
1177c478bd9Sstevel@tonic-gate	</template>
1187c478bd9Sstevel@tonic-gate</service>
1197c478bd9Sstevel@tonic-gate
1207c478bd9Sstevel@tonic-gate</service_bundle>
121