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