xref: /illumos-gate/usr/src/cmd/tsol/labeld/labeld.xml (revision e9958a6c)
1f875b4ebSrica<?xml version="1.0"?>
2f875b4ebSrica<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3f875b4ebSrica<!--
4f875b4ebSrica    CDDL HEADER START
5f875b4ebSrica
6f875b4ebSrica    The contents of this file are subject to the terms of the
7f875b4ebSrica    Common Development and Distribution License (the "License").
8f875b4ebSrica    You may not use this file except in compliance with the License.
9f875b4ebSrica
10f875b4ebSrica    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11f875b4ebSrica    or http://www.opensolaris.org/os/licensing.
12f875b4ebSrica    See the License for the specific language governing permissions
13f875b4ebSrica    and limitations under the License.
14f875b4ebSrica
15f875b4ebSrica    When distributing Covered Code, include this CDDL HEADER in each
16f875b4ebSrica    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17f875b4ebSrica    If applicable, add the following below this CDDL HEADER, with the
18f875b4ebSrica    fields enclosed by brackets "[]" replaced with your own identifying
19f875b4ebSrica    information: Portions Copyright [yyyy] [name of copyright owner]
20f875b4ebSrica
21f875b4ebSrica    CDDL HEADER END
22f875b4ebSrica
23*e9958a6cSjpk	Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24f875b4ebSrica	Use is subject to license terms.
25f875b4ebSrica
26f875b4ebSrica	ident	"%Z%%M%	%I%	%E% SMI"
27f875b4ebSrica-->
28f875b4ebSrica
29f875b4ebSrica<service_bundle type='manifest' name='SUNWtsg:labeld'>
30f875b4ebSrica
31f875b4ebSrica<service
32f875b4ebSrica	name='system/labeld'
33f875b4ebSrica	type='service'
34f875b4ebSrica	version='1'>
35f875b4ebSrica
36f875b4ebSrica	<single_instance/>
37f875b4ebSrica
38f875b4ebSrica	<dependency
39f875b4ebSrica		name='usr'
40f875b4ebSrica		type='service'
41f875b4ebSrica		grouping='require_all'
42f875b4ebSrica		restart_on='none'>
43f875b4ebSrica		<service_fmri value='svc:/system/filesystem/minimal' />
44f875b4ebSrica	</dependency>
45f875b4ebSrica
46*e9958a6cSjpk
47f875b4ebSrica	<exec_method
48f875b4ebSrica		type='method'
49f875b4ebSrica		name='start'
50f875b4ebSrica		exec='/lib/svc/method/svc-labeld %m'
51f875b4ebSrica		timeout_seconds='180' />
52f875b4ebSrica
53f875b4ebSrica	<exec_method
54f875b4ebSrica		type='method'
55f875b4ebSrica		name='stop'
56f875b4ebSrica		exec='/lib/svc/method/svc-labeld %m'
57f875b4ebSrica		timeout_seconds='180' />
58f875b4ebSrica
59f875b4ebSrica	<property_group name='general' type='framework'>
60f875b4ebSrica		<!-- start and stop labeld -->
61f875b4ebSrica		<propval name='action_authorization' type='astring'
62f875b4ebSrica			value='solaris.smf.manage.labels' />
63f875b4ebSrica		<propval name='value_authorization' type='astring'
64f875b4ebSrica			value='solaris.smf.manage.labels' />
65f875b4ebSrica	</property_group>
66f875b4ebSrica
67*e9958a6cSjpk	<instance name='default' enabled='false'>
68*e9958a6cSjpk
69*e9958a6cSjpk      	<property_group name='labeld' type='application'>
70*e9958a6cSjpk		<!-- Sun internal, do not change -->
71*e9958a6cSjpk		<propval name='svctag_inst' type='astring'
72*e9958a6cSjpk			value='' />
73*e9958a6cSjpk	</property_group>
74*e9958a6cSjpk
75*e9958a6cSjpk	</instance>
76*e9958a6cSjpk
77*e9958a6cSjpk
78f875b4ebSrica	<stability value='Unstable' />
79f875b4ebSrica
80f875b4ebSrica	<template>
81f875b4ebSrica		<common_name>
82f875b4ebSrica			<loctext xml:lang='C'> label daemon
83f875b4ebSrica			</loctext>
84f875b4ebSrica		</common_name>
85f875b4ebSrica		<documentation>
86f875b4ebSrica			<doc_link
87f875b4ebSrica				name='Solaris Trusted Extensions Label Administration Guide'
88f875b4ebSrica				uri='http://docs.sun.com' />
89f875b4ebSrica		</documentation>
90f875b4ebSrica	</template>
91f875b4ebSrica</service>
92f875b4ebSrica
93f875b4ebSrica</service_bundle>
94