xref: /illumos-gate/usr/src/lib/libsecdb/rbac.xml (revision 58f7c256)
1<?xml version="1.0"?>
2<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
3<!--
4    CDDL HEADER START
5
6    The contents of this file are subject to the terms of the
7    Common Development and Distribution License (the "License").
8    You may not use this file except in compliance with the License.
9
10    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11    or http://www.opensolaris.org/os/licensing.
12    See the License for the specific language governing permissions
13    and limitations under the License.
14
15    When distributing Covered Code, include this CDDL HEADER in each
16    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17    If applicable, add the following below this CDDL HEADER, with the
18    fields enclosed by brackets "[]" replaced with your own identifying
19    information: Portions Copyright [yyyy] [name of copyright owner]
20
21    CDDL HEADER END
22
23    Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24    Use is subject to license terms.
25
26    NOTE:  This service manifest is not editable; its contents will
27    be overwritten by package or patch operations, including
28    operating system upgrade.  Make customizations in a different
29    file.
30-->
31
32<service_bundle type='manifest' name='SUNWcsr:rbac'>
33
34<service
35	name='system/rbac'
36	type='service'
37	version='1'>
38
39	<create_default_instance enabled='true' />
40
41	<single_instance />
42
43        <dependency
44                name='usr'
45                type='service'
46                grouping='require_all'
47                restart_on='none'>
48                <service_fmri value='svc:/system/filesystem/minimal' />
49        </dependency>
50
51	<dependent
52		name='manifest'
53		grouping='optional_all'
54		restart_on='none'>
55			<service_fmri value='svc:/system/manifest-import' />
56	</dependent>
57
58	<dependent
59		name='name-service-cache'
60		grouping='optional_all'
61		restart_on='none'>
62		<service_fmri value='svc:/system/name-service-cache' />
63	</dependent>
64
65	<exec_method
66		type='method'
67		name='start'
68		exec='/lib/svc/method/svc-rbac start'
69		timeout_seconds='300'>
70	</exec_method>
71
72	<exec_method
73		type='method'
74		name='refresh'
75		exec='/lib/svc/method/svc-rbac refresh'
76		timeout_seconds='300'>
77	</exec_method>
78
79	<exec_method
80		type='method'
81		name='stop'
82		exec=':true'
83		timeout_seconds='300'>
84	</exec_method>
85
86	<property_group name='startd' type='framework'>
87		<propval name='duration' type='astring'
88			value='transient' />
89	</property_group>
90
91	<property_group name='options' type='application'>
92	</property_group>
93
94	<stability value='Unstable' />
95
96	<template>
97		<common_name>
98			<loctext xml:lang='C'>
99			Assemble the RBAC *attr files.
100			</loctext>
101		</common_name>
102	</template>
103</service>
104
105</service_bundle>
106