author | Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM> |
Wed, 11 Aug 2010 17:11:30 -0500 | |
changeset 13092 | fcc1e406c13f |
parent 5043 | 667e437d66d0 |
permissions | -rw-r--r-- |
0 | 1 |
<?xml version="1.0"?> |
2 |
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> |
|
3 |
<!-- |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
4 |
CDDL HEADER START |
0 | 5 |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
6 |
The contents of this file are subject to the terms of the |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
7 |
Common Development and Distribution License (the "License"). |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
8 |
You may not use this file except in compliance with the License. |
0 | 9 |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
10 |
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
11 |
or http://www.opensolaris.org/os/licensing. |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
12 |
See the License for the specific language governing permissions |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
13 |
and limitations under the License. |
0 | 14 |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
15 |
When distributing Covered Code, include this CDDL HEADER in each |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
16 |
file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
17 |
If applicable, add the following below this CDDL HEADER, with the |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
18 |
fields enclosed by brackets "[]" replaced with your own identifying |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
19 |
information: Portions Copyright [yyyy] [name of copyright owner] |
0 | 20 |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
21 |
CDDL HEADER END |
0 | 22 |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
23 |
Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. |
0 | 24 |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
25 |
NOTE: This service manifest is not editable; its contents will |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
26 |
be overwritten by package or patch operations, including |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
27 |
operating system upgrade. Make customizations in a different |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
28 |
file. |
0 | 29 |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
30 |
Note: if this service is modified to consist of anything other |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
31 |
than a single instance named 'default', you must make changes to |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
32 |
$SRC/head/rpcsvc/daemon_utils.h and libnsl:open_daemon_lock(). |
0 | 33 |
--> |
34 |
||
35 |
<service_bundle type='manifest' name='SUNWnfscr:nfs-mapid'> |
|
36 |
||
37 |
<service |
|
38 |
name='network/nfs/mapid' |
|
39 |
type='service' |
|
40 |
version='1'> |
|
41 |
||
42 |
<dependency name='network' |
|
43 |
grouping='require_any' |
|
44 |
restart_on='error' |
|
45 |
type='service'> |
|
46 |
<service_fmri value='svc:/milestone/network' /> |
|
47 |
</dependency> |
|
48 |
||
49 |
<dependency name='rpcbind' |
|
50 |
grouping='require_all' |
|
51 |
restart_on='restart' |
|
52 |
type='service'> |
|
53 |
<service_fmri value='svc:/network/rpc/bind' /> |
|
54 |
</dependency> |
|
55 |
||
56 |
<dependency name='name-services' |
|
57 |
grouping='require_all' |
|
58 |
restart_on='refresh' |
|
59 |
type='service'> |
|
60 |
<service_fmri value='svc:/milestone/name-services' /> |
|
61 |
</dependency> |
|
62 |
||
5043
667e437d66d0
6601949 nfsmapid should handle Windows users and groups in a heterogenous environment
baban
parents:
0
diff
changeset
|
63 |
<dependency name='idmap' |
667e437d66d0
6601949 nfsmapid should handle Windows users and groups in a heterogenous environment
baban
parents:
0
diff
changeset
|
64 |
grouping='optional_all' |
667e437d66d0
6601949 nfsmapid should handle Windows users and groups in a heterogenous environment
baban
parents:
0
diff
changeset
|
65 |
restart_on='none' |
667e437d66d0
6601949 nfsmapid should handle Windows users and groups in a heterogenous environment
baban
parents:
0
diff
changeset
|
66 |
type='service'> |
667e437d66d0
6601949 nfsmapid should handle Windows users and groups in a heterogenous environment
baban
parents:
0
diff
changeset
|
67 |
<service_fmri value='svc:/system/idmap' /> |
667e437d66d0
6601949 nfsmapid should handle Windows users and groups in a heterogenous environment
baban
parents:
0
diff
changeset
|
68 |
</dependency> |
667e437d66d0
6601949 nfsmapid should handle Windows users and groups in a heterogenous environment
baban
parents:
0
diff
changeset
|
69 |
|
0 | 70 |
<dependency name='filesystem-minimal' |
71 |
grouping='require_all' |
|
72 |
restart_on='error' |
|
73 |
type='service'> |
|
74 |
<service_fmri value='svc:/system/filesystem/minimal' /> |
|
75 |
</dependency> |
|
76 |
||
77 |
<exec_method |
|
78 |
type='method' |
|
79 |
name='start' |
|
80 |
exec='/usr/lib/nfs/nfsmapid' |
|
81 |
timeout_seconds='60' /> |
|
82 |
||
83 |
<exec_method |
|
84 |
type='method' |
|
85 |
name='refresh' |
|
86 |
exec='/usr/bin/kill -HUP `/usr/bin/cat /etc/svc/volatile/nfs-mapid.lock`' |
|
87 |
timeout_seconds='60' /> |
|
88 |
||
89 |
<exec_method |
|
90 |
type='method' |
|
91 |
name='stop' |
|
92 |
exec=':kill' |
|
93 |
timeout_seconds='60' /> |
|
94 |
||
95 |
<property_group name='application' type='framework'> |
|
96 |
<stability value='Evolving' /> |
|
97 |
<propval name='auto_enable' type='boolean' value='true' /> |
|
98 |
</property_group> |
|
13092
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
99 |
<instance name='default' enabled='false'> |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
100 |
<property_group name='nfs-props' type='com.oracle.nfs,props'> |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
101 |
<propval name='nfsmapid_domain' type='astring' value=''/> |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
102 |
</property_group> |
fcc1e406c13f
6975309 PSARC2007_393 Move /etc/default/{nfs/autofs} parameters to SMF
Pavan Mettu - Oracle Corporation - Menlo Park United States <Pavan.Mettu@Oracle.COM>
parents:
5043
diff
changeset
|
103 |
</instance> |
0 | 104 |
|
105 |
<stability value='Stable' /> |
|
106 |
||
107 |
<template> |
|
108 |
<common_name> |
|
109 |
<loctext xml:lang='C'> |
|
110 |
NFS ID mapper |
|
111 |
</loctext> |
|
112 |
</common_name> |
|
113 |
<documentation> |
|
114 |
<manpage title='nfsmapid' section='1M' |
|
115 |
manpath='/usr/share/man' /> |
|
116 |
</documentation> |
|
117 |
</template> |
|
118 |
</service> |
|
119 |
||
120 |
</service_bundle> |