xref: /illumos-gate/usr/src/pkg/manifests/service-fault-management.p5m (revision 77c0a660417a046bfab6c8ef58d00c181c0264b3)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24# Copyright 2020 Joyent, Inc.
25# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
26# Copyright 2019 Peter Tribble.
27#
28
29#
30# The default for payload-bearing actions in this package is to appear in the
31# global zone only.  See the include file for greater detail, as well as
32# information about overriding the defaults.
33#
34<include global_zone_only_component>
35set name=pkg.fmri value=pkg:/service/fault-management@$(PKGVERS)
36set name=pkg.summary value="Fault Management Daemon and Utilities"
37set name=pkg.description value="Fault Management Daemon and Utilities"
38set name=info.classification \
39    value="org.opensolaris.category.2008:System/Administration and Configuration"
40set name=variant.arch value=$(ARCH)
41#
42# Start by describing our directory structure.
43#
44# The snmp mibs are common to global and non-global zones
45#
46dir  path=etc group=sys variant.opensolaris.zone=__NODEFAULT
47dir  path=etc/fm group=sys variant.opensolaris.zone=__NODEFAULT
48dir  path=etc/fm/fmd group=sys variant.opensolaris.zone=__NODEFAULT
49#
50# Our additional /etc/logadm.conf entries are common to global and local zones
51#
52dir  path=etc/logadm.d group=sys variant.opensolaris.zone=__NODEFAULT
53#
54# Our additional /etc/logadm.conf entries are common to global and local zones
55#
56file path=etc/logadm.d/fmd.logadm.conf group=sys mode=0444 \
57    refresh_fmri=svc:/system/logadm-upgrade:default \
58    variant.opensolaris.zone=__NODEFAULT
59dir  path=etc/net-snmp variant.opensolaris.zone=__NODEFAULT
60dir  path=etc/net-snmp/snmp variant.opensolaris.zone=__NODEFAULT
61dir  path=etc/net-snmp/snmp/mibs variant.opensolaris.zone=__NODEFAULT
62#
63# Now for our file and link payloads
64#
65# snmp MIBs are common to both global and non-global zones
66#
67file path=etc/net-snmp/snmp/mibs/SUN-FM-MIB.mib \
68    variant.opensolaris.zone=__NODEFAULT
69file path=etc/net-snmp/snmp/mibs/SUN-IREPORT-MIB.mib \
70    variant.opensolaris.zone=__NODEFAULT
71#
72# Our kernel driver is global zone only
73#
74dir  path=kernel group=sys
75dir  path=kernel/drv group=sys
76dir  path=kernel/drv/$(ARCH64) group=sys
77#
78# driver is global-zone only
79#
80file path=kernel/drv/$(ARCH64)/fm group=sys
81file path=kernel/drv/fm.conf group=sys
82#
83# lib dirs:
84#
85dir  path=lib/fm variant.opensolaris.zone=__NODEFAULT
86dir  path=lib/fm/$(ARCH64) variant.opensolaris.zone=__NODEFAULT
87
88#
89# libraries .so symlinks in lib
90#
91link path=lib/fm/$(ARCH64)/libfmevent.so target=./libfmevent.so.1 \
92    variant.opensolaris.zone=__NODEFAULT
93
94#
95# Some libraries need to be in lib for install
96#
97file path=lib/fm/$(ARCH64)/libfmevent.so.1 variant.opensolaris.zone=__NODEFAULT
98link path=lib/fm/libfmevent.so target=libfmevent.so.1 \
99    variant.opensolaris.zone=__NODEFAULT
100file path=lib/fm/libfmevent.so.1 variant.opensolaris.zone=__NODEFAULT
101#
102# Our service manifests are common to global and non-global zones
103#
104dir  path=lib/svc/manifest/system group=sys variant.opensolaris.zone=__NODEFAULT
105dir  path=lib/svc/manifest/system/fm group=sys \
106    variant.opensolaris.zone=__NODEFAULT
107#
108# Service manifests are common to both global and non-global zones
109#
110file path=lib/svc/manifest/system/fm/notify-params.xml group=sys mode=0444 \
111    variant.opensolaris.zone=__NODEFAULT
112file path=lib/svc/manifest/system/fmd.xml group=sys mode=0444 \
113    variant.opensolaris.zone=__NODEFAULT
114
115#
116# usr dirs:
117#	- most are common to both global and non-global zones
118#	- those mentioning 'include' will automatically apply to both
119#	- dictionaries are delivered to both contexts, even if they
120#	  are hardware dictionaries
121#	- eversholt rules (eft) are global zone only
122#	- some plugins and all schemes apply to both contexts
123#	- we don't deliver any topo maps to non-global zones, but we
124#	  create the directory nonetheless; similarly for topo plugins
125#	- paths mentioning mdb will automatically apply to both
126#	- usr/platform is global zone only
127#
128dir  path=usr group=sys variant.opensolaris.zone=__NODEFAULT
129dir  path=usr/include
130dir  path=usr/include/fm
131#
132# Headers are automatically included in both contexts.
133# While some of these are from global-zone-only components
134# there's no harm in including them in both contexts.
135#
136file path=usr/include/fm/diagcode.h
137file path=usr/include/fm/fmd_adm.h
138file path=usr/include/fm/fmd_agent.h
139file path=usr/include/fm/fmd_api.h
140file path=usr/include/fm/fmd_fmri.h
141file path=usr/include/fm/fmd_log.h
142file path=usr/include/fm/fmd_msg.h
143file path=usr/include/fm/fmd_snmp.h
144file path=usr/include/fm/libdiskstatus.h
145file path=usr/include/fm/libfmevent.h
146file path=usr/include/fm/libfmevent_ruleset.h
147file path=usr/include/fm/libseslog.h
148file path=usr/include/fm/libtopo.h
149file path=usr/include/fm/topo_hc.h
150file path=usr/include/fm/topo_list.h
151file path=usr/include/fm/topo_method.h
152file path=usr/include/fm/topo_mod.h
153dir  path=usr/lib variant.opensolaris.zone=__NODEFAULT
154dir  path=usr/lib/fm variant.opensolaris.zone=__NODEFAULT
155dir  path=usr/lib/fm/$(ARCH64) variant.opensolaris.zone=__NODEFAULT
156
157#
158#	64-bit .so symlinks
159#
160link path=usr/lib/fm/$(ARCH64)/libdiagcode.so target=./libdiagcode.so.1 \
161    variant.opensolaris.zone=__NODEFAULT
162#
163#	64-bit .so.1
164#
165file path=usr/lib/fm/$(ARCH64)/libdiagcode.so.1 \
166    variant.opensolaris.zone=__NODEFAULT
167link path=usr/lib/fm/$(ARCH64)/libdiskstatus.so target=./libdiskstatus.so.1 \
168    variant.opensolaris.zone=__NODEFAULT
169file path=usr/lib/fm/$(ARCH64)/libdiskstatus.so.1 \
170    variant.opensolaris.zone=__NODEFAULT
171link path=usr/lib/fm/$(ARCH64)/libfmd_adm.so target=./libfmd_adm.so.1 \
172    variant.opensolaris.zone=__NODEFAULT
173file path=usr/lib/fm/$(ARCH64)/libfmd_adm.so.1 \
174    variant.opensolaris.zone=__NODEFAULT
175link path=usr/lib/fm/$(ARCH64)/libfmd_agent.so target=./libfmd_agent.so.1 \
176    variant.opensolaris.zone=__NODEFAULT
177file path=usr/lib/fm/$(ARCH64)/libfmd_agent.so.1 \
178    variant.opensolaris.zone=__NODEFAULT
179link path=usr/lib/fm/$(ARCH64)/libfmd_log.so target=./libfmd_log.so.1 \
180    variant.opensolaris.zone=__NODEFAULT
181file path=usr/lib/fm/$(ARCH64)/libfmd_log.so.1 \
182    variant.opensolaris.zone=__NODEFAULT
183link path=usr/lib/fm/$(ARCH64)/libfmd_msg.so target=./libfmd_msg.so.1 \
184    variant.opensolaris.zone=__NODEFAULT
185file path=usr/lib/fm/$(ARCH64)/libfmd_msg.so.1 \
186    variant.opensolaris.zone=__NODEFAULT
187link path=usr/lib/fm/$(ARCH64)/libfmd_snmp.so target=./libfmd_snmp.so.1 \
188    variant.opensolaris.zone=__NODEFAULT
189file path=usr/lib/fm/$(ARCH64)/libfmd_snmp.so.1 \
190    variant.opensolaris.zone=__NODEFAULT
191link path=usr/lib/fm/$(ARCH64)/libfmevent.so \
192    target=../../../../lib/fm/$(ARCH64)/libfmevent.so.1 \
193    variant.opensolaris.zone=__NODEFAULT
194link path=usr/lib/fm/$(ARCH64)/libfmevent.so.1 \
195    target=../../../../lib/fm/$(ARCH64)/libfmevent.so.1 \
196    variant.opensolaris.zone=__NODEFAULT
197link path=usr/lib/fm/$(ARCH64)/libfmnotify.so target=./libfmnotify.so.1 \
198    variant.opensolaris.zone=__NODEFAULT
199file path=usr/lib/fm/$(ARCH64)/libfmnotify.so.1 \
200    variant.opensolaris.zone=__NODEFAULT
201link path=usr/lib/fm/$(ARCH64)/libseslog.so target=./libseslog.so.1
202file path=usr/lib/fm/$(ARCH64)/libseslog.so.1
203link path=usr/lib/fm/$(ARCH64)/libtopo.so target=libtopo.so.1 \
204    variant.opensolaris.zone=__NODEFAULT
205file path=usr/lib/fm/$(ARCH64)/libtopo.so.1 variant.opensolaris.zone=__NODEFAULT
206dir  path=usr/lib/fm/dict variant.opensolaris.zone=__NODEFAULT
207#
208# Dictionaries, whether they are hardware-specific or not, are
209# common to both global and non-global zones.
210#
211$(i386_ONLY)file path=usr/lib/fm/dict/AMD.dict mode=0444 \
212    variant.opensolaris.zone=__NODEFAULT
213file path=usr/lib/fm/dict/DISK.dict mode=0444 \
214    variant.opensolaris.zone=__NODEFAULT
215file path=usr/lib/fm/dict/FMD.dict mode=0444 \
216    variant.opensolaris.zone=__NODEFAULT
217file path=usr/lib/fm/dict/FMNOTIFY.dict mode=0444 \
218    variant.opensolaris.zone=__NODEFAULT
219$(i386_ONLY)file path=usr/lib/fm/dict/GMCA.dict mode=0444 \
220    variant.opensolaris.zone=__NODEFAULT
221$(i386_ONLY)file path=usr/lib/fm/dict/INTEL.dict mode=0444 \
222    variant.opensolaris.zone=__NODEFAULT
223file path=usr/lib/fm/dict/NIC.dict mode=0444 \
224    variant.opensolaris.zone=__NODEFAULT
225file path=usr/lib/fm/dict/NXGE.dict mode=0444 \
226    variant.opensolaris.zone=__NODEFAULT
227file path=usr/lib/fm/dict/PCI.dict mode=0444 \
228    variant.opensolaris.zone=__NODEFAULT
229file path=usr/lib/fm/dict/PCIEX.dict mode=0444 \
230    variant.opensolaris.zone=__NODEFAULT
231file path=usr/lib/fm/dict/SENSOR.dict mode=0444 \
232    variant.opensolaris.zone=__NODEFAULT
233file path=usr/lib/fm/dict/SMF.dict mode=0444 \
234    variant.opensolaris.zone=__NODEFAULT
235file path=usr/lib/fm/dict/STORAGE.dict mode=0444 \
236    variant.opensolaris.zone=__NODEFAULT
237file path=usr/lib/fm/dict/SUNOS.dict mode=0444 \
238    variant.opensolaris.zone=__NODEFAULT
239file path=usr/lib/fm/dict/ZFS.dict mode=0444 \
240    variant.opensolaris.zone=__NODEFAULT
241dir  path=usr/lib/fm/eft
242#
243# Eversholt rules are global zone only
244#
245file path=usr/lib/fm/eft/disk.eft mode=0444 variant.opensolaris.zone=__NODEFAULT
246file path=usr/lib/fm/eft/neptune_xaui.eft mode=0444
247file path=usr/lib/fm/eft/neptune_xfp.eft mode=0444
248file path=usr/lib/fm/eft/nic.eft mode=0444
249file path=usr/lib/fm/eft/pci.eft mode=0444
250file path=usr/lib/fm/eft/pciex.eft mode=0444
251file path=usr/lib/fm/eft/pciexrc.eft mode=0444
252file path=usr/lib/fm/eft/sensor.eft mode=0444
253file path=usr/lib/fm/eft/storage.eft mode=0444
254dir  path=usr/lib/fm/fmd variant.opensolaris.zone=__NODEFAULT
255#
256# usr/lib/fm/fmd executables:
257#	- fmd is common, as are fminject, fmsim and fmtopo
258#	- ipmitopo and mcdecode are global zone only
259#
260file path=usr/lib/fm/fmd/fmd mode=0555 variant.opensolaris.zone=__NODEFAULT
261file path=usr/lib/fm/fmd/fminject mode=0555 variant.opensolaris.zone=__NODEFAULT
262file path=usr/lib/fm/fmd/fmsim mode=0555 variant.opensolaris.zone=__NODEFAULT
263file path=usr/lib/fm/fmd/fmtopo mode=0555 variant.opensolaris.zone=__NODEFAULT
264file path=usr/lib/fm/fmd/ipmitopo mode=0555
265$(i386_ONLY)file path=usr/lib/fm/fmd/mcdecode mode=0555
266dir  path=usr/lib/fm/fmd/plugins variant.opensolaris.zone=__NODEFAULT
267#
268# fmd plugins:
269#	- most are hardware-specific and so global zone only
270#	- ext-event-transport, ip-transport, syslog-msgs,
271#	  software-diagnosis and software-response
272#	  are common to both contexts
273#
274file path=usr/lib/fm/fmd/plugins/cpumem-retire.conf
275file path=usr/lib/fm/fmd/plugins/cpumem-retire.so mode=0555
276file path=usr/lib/fm/fmd/plugins/disk-lights.conf
277file path=usr/lib/fm/fmd/plugins/disk-lights.so mode=0555
278file path=usr/lib/fm/fmd/plugins/disk-monitor.conf
279file path=usr/lib/fm/fmd/plugins/disk-monitor.so mode=0555
280file path=usr/lib/fm/fmd/plugins/disk-transport.conf
281file path=usr/lib/fm/fmd/plugins/disk-transport.so mode=0555
282file path=usr/lib/fm/fmd/plugins/eft.conf
283file path=usr/lib/fm/fmd/plugins/eft.so mode=0555
284file path=usr/lib/fm/fmd/plugins/ext-event-transport.conf \
285    variant.opensolaris.zone=__NODEFAULT
286file path=usr/lib/fm/fmd/plugins/ext-event-transport.so mode=0555 \
287    variant.opensolaris.zone=__NODEFAULT
288file path=usr/lib/fm/fmd/plugins/fabric-xlate.conf
289file path=usr/lib/fm/fmd/plugins/fabric-xlate.so mode=0555
290file path=usr/lib/fm/fmd/plugins/fdd-msg.conf
291file path=usr/lib/fm/fmd/plugins/fdd-msg.so mode=0555
292file path=usr/lib/fm/fmd/plugins/io-retire.conf
293file path=usr/lib/fm/fmd/plugins/io-retire.so mode=0555
294file path=usr/lib/fm/fmd/plugins/ip-transport.conf \
295    variant.opensolaris.zone=__NODEFAULT
296file path=usr/lib/fm/fmd/plugins/ip-transport.so mode=0555 \
297    variant.opensolaris.zone=__NODEFAULT
298file path=usr/lib/fm/fmd/plugins/sensor-transport.conf
299file path=usr/lib/fm/fmd/plugins/sensor-transport.so mode=0555
300file path=usr/lib/fm/fmd/plugins/ses-log-transport.conf
301file path=usr/lib/fm/fmd/plugins/ses-log-transport.so mode=0555
302file path=usr/lib/fm/fmd/plugins/software-diagnosis.conf \
303    variant.opensolaris.zone=__NODEFAULT
304file path=usr/lib/fm/fmd/plugins/software-diagnosis.so mode=0555 \
305    variant.opensolaris.zone=__NODEFAULT
306file path=usr/lib/fm/fmd/plugins/software-response.conf \
307    variant.opensolaris.zone=__NODEFAULT
308file path=usr/lib/fm/fmd/plugins/software-response.so mode=0555 \
309    variant.opensolaris.zone=__NODEFAULT
310file path=usr/lib/fm/fmd/plugins/sp-monitor.conf
311file path=usr/lib/fm/fmd/plugins/sp-monitor.so mode=0555
312file path=usr/lib/fm/fmd/plugins/syslog-msgs.conf \
313    variant.opensolaris.zone=__NODEFAULT
314file path=usr/lib/fm/fmd/plugins/syslog-msgs.so mode=0555 \
315    variant.opensolaris.zone=__NODEFAULT
316file path=usr/lib/fm/fmd/plugins/zfs-diagnosis.conf
317file path=usr/lib/fm/fmd/plugins/zfs-diagnosis.so mode=0555
318file path=usr/lib/fm/fmd/plugins/zfs-retire.conf
319file path=usr/lib/fm/fmd/plugins/zfs-retire.so mode=0555
320dir  path=usr/lib/fm/fmd/schemes variant.opensolaris.zone=__NODEFAULT
321dir  path=usr/lib/fm/fmd/schemes/$(ARCH64) variant.opensolaris.zone=__NODEFAULT
322#
323# fmri scheme support: all are common to both global and non-global zones
324#
325file path=usr/lib/fm/fmd/schemes/$(ARCH64)/cpu.so mode=0555 \
326    variant.opensolaris.zone=__NODEFAULT
327file path=usr/lib/fm/fmd/schemes/$(ARCH64)/dev.so mode=0555 \
328    variant.opensolaris.zone=__NODEFAULT
329file path=usr/lib/fm/fmd/schemes/$(ARCH64)/fmd.so mode=0555 \
330    variant.opensolaris.zone=__NODEFAULT
331file path=usr/lib/fm/fmd/schemes/$(ARCH64)/hc.so mode=0555 \
332    variant.opensolaris.zone=__NODEFAULT
333file path=usr/lib/fm/fmd/schemes/$(ARCH64)/legacy-hc.so mode=0555 \
334    variant.opensolaris.zone=__NODEFAULT
335file path=usr/lib/fm/fmd/schemes/$(ARCH64)/mem.so mode=0555 \
336    variant.opensolaris.zone=__NODEFAULT
337file path=usr/lib/fm/fmd/schemes/$(ARCH64)/mod.so mode=0555 \
338    variant.opensolaris.zone=__NODEFAULT
339file path=usr/lib/fm/fmd/schemes/$(ARCH64)/pkg.so mode=0555 \
340    variant.opensolaris.zone=__NODEFAULT
341file path=usr/lib/fm/fmd/schemes/$(ARCH64)/svc.so mode=0555 \
342    variant.opensolaris.zone=__NODEFAULT
343file path=usr/lib/fm/fmd/schemes/$(ARCH64)/sw.so mode=0555 \
344    variant.opensolaris.zone=__NODEFAULT
345file path=usr/lib/fm/fmd/schemes/$(ARCH64)/zfs.so mode=0555 \
346    variant.opensolaris.zone=__NODEFAULT
347file path=usr/lib/fm/fmd/schemes/cpu.so mode=0555 \
348    variant.opensolaris.zone=__NODEFAULT
349file path=usr/lib/fm/fmd/schemes/dev.so mode=0555 \
350    variant.opensolaris.zone=__NODEFAULT
351file path=usr/lib/fm/fmd/schemes/fmd.so mode=0555 \
352    variant.opensolaris.zone=__NODEFAULT
353file path=usr/lib/fm/fmd/schemes/hc.so mode=0555 \
354    variant.opensolaris.zone=__NODEFAULT
355file path=usr/lib/fm/fmd/schemes/legacy-hc.so mode=0555 \
356    variant.opensolaris.zone=__NODEFAULT
357file path=usr/lib/fm/fmd/schemes/mem.so mode=0555 \
358    variant.opensolaris.zone=__NODEFAULT
359file path=usr/lib/fm/fmd/schemes/mod.so mode=0555 \
360    variant.opensolaris.zone=__NODEFAULT
361file path=usr/lib/fm/fmd/schemes/pkg.so mode=0555 \
362    variant.opensolaris.zone=__NODEFAULT
363file path=usr/lib/fm/fmd/schemes/svc.so mode=0555 \
364    variant.opensolaris.zone=__NODEFAULT
365file path=usr/lib/fm/fmd/schemes/sw.so mode=0555 \
366    variant.opensolaris.zone=__NODEFAULT
367file path=usr/lib/fm/fmd/schemes/zfs.so mode=0555 \
368    variant.opensolaris.zone=__NODEFAULT
369#
370#	32-bit .so symlinks
371#
372link path=usr/lib/fm/libdiagcode.so target=libdiagcode.so.1 \
373    variant.opensolaris.zone=__NODEFAULT
374#
375# Libraries for usr/lib/fm; we include these in both global and non-global
376# contexts except for the ldom and seslog libraries.
377#
378#
379#	32-bit .so.1
380#
381file path=usr/lib/fm/libdiagcode.so.1 variant.opensolaris.zone=__NODEFAULT
382link path=usr/lib/fm/libdiskstatus.so target=libdiskstatus.so.1 \
383    variant.opensolaris.zone=__NODEFAULT
384file path=usr/lib/fm/libdiskstatus.so.1 variant.opensolaris.zone=__NODEFAULT
385link path=usr/lib/fm/libfmd_adm.so target=libfmd_adm.so.1 \
386    variant.opensolaris.zone=__NODEFAULT
387file path=usr/lib/fm/libfmd_adm.so.1 variant.opensolaris.zone=__NODEFAULT
388link path=usr/lib/fm/libfmd_agent.so target=libfmd_agent.so.1 \
389    variant.opensolaris.zone=__NODEFAULT
390file path=usr/lib/fm/libfmd_agent.so.1 variant.opensolaris.zone=__NODEFAULT
391link path=usr/lib/fm/libfmd_log.so target=libfmd_log.so.1 \
392    variant.opensolaris.zone=__NODEFAULT
393file path=usr/lib/fm/libfmd_log.so.1 variant.opensolaris.zone=__NODEFAULT
394link path=usr/lib/fm/libfmd_msg.so target=libfmd_msg.so.1 \
395    variant.opensolaris.zone=__NODEFAULT
396file path=usr/lib/fm/libfmd_msg.so.1 variant.opensolaris.zone=__NODEFAULT
397link path=usr/lib/fm/libfmd_snmp.so target=libfmd_snmp.so.1 \
398    variant.opensolaris.zone=__NODEFAULT
399file path=usr/lib/fm/libfmd_snmp.so.1 variant.opensolaris.zone=__NODEFAULT
400link path=usr/lib/fm/libfmevent.so target=../../../lib/fm/libfmevent.so.1 \
401    variant.opensolaris.zone=__NODEFAULT
402link path=usr/lib/fm/libfmevent.so.1 target=../../../lib/fm/libfmevent.so.1 \
403    variant.opensolaris.zone=__NODEFAULT
404link path=usr/lib/fm/libfmnotify.so target=libfmnotify.so.1 \
405    variant.opensolaris.zone=__NODEFAULT
406file path=usr/lib/fm/libfmnotify.so.1 variant.opensolaris.zone=__NODEFAULT
407link path=usr/lib/fm/libseslog.so target=libseslog.so.1
408file path=usr/lib/fm/libseslog.so.1
409link path=usr/lib/fm/libtopo.so target=libtopo.so.1 \
410    variant.opensolaris.zone=__NODEFAULT
411file path=usr/lib/fm/libtopo.so.1 variant.opensolaris.zone=__NODEFAULT
412dir  path=usr/lib/fm/notify variant.opensolaris.zone=__NODEFAULT
413dir  path=usr/lib/fm/topo variant.opensolaris.zone=__NODEFAULT
414dir  path=usr/lib/fm/topo/maps variant.opensolaris.zone=__NODEFAULT
415#
416# Topo xml maps are all global-zone only
417#
418file path=usr/lib/fm/topo/maps/xfp-hc-topology.xml mode=0444
419dir  path=usr/lib/fm/topo/plugins variant.opensolaris.zone=__NODEFAULT
420file path=usr/lib/fm/topo/plugins/disk.so mode=0555
421file path=usr/lib/fm/topo/plugins/fac_prov_ahci.so mode=0555
422file path=usr/lib/fm/topo/plugins/fac_prov_ipmi.so mode=0555
423file path=usr/lib/fm/topo/plugins/fac_prov_mptsas.so mode=0555
424file path=usr/lib/fm/topo/plugins/ipmi.so mode=0555
425file path=usr/lib/fm/topo/plugins/nic.so mode=0555
426file path=usr/lib/fm/topo/plugins/ses.so mode=0555
427file path=usr/lib/fm/topo/plugins/smbios.so mode=0555
428file path=usr/lib/fm/topo/plugins/usb.so mode=0555
429file path=usr/lib/fm/topo/plugins/xfp.so mode=0555
430dir  path=usr/lib/locale variant.opensolaris.zone=__NODEFAULT
431dir  path=usr/lib/locale/C variant.opensolaris.zone=__NODEFAULT
432dir  path=usr/lib/locale/C/LC_MESSAGES variant.opensolaris.zone=__NODEFAULT
433#
434# Dictionaries, whether they are hardware-specific or not, are
435# common to both global and non-global zones.
436#
437$(i386_ONLY)file path=usr/lib/locale/C/LC_MESSAGES/AMD.mo mode=0444 \
438    variant.opensolaris.zone=__NODEFAULT
439file path=usr/lib/locale/C/LC_MESSAGES/DISK.mo mode=0444 \
440    variant.opensolaris.zone=__NODEFAULT
441file path=usr/lib/locale/C/LC_MESSAGES/FMD.mo mode=0444 \
442    variant.opensolaris.zone=__NODEFAULT
443file path=usr/lib/locale/C/LC_MESSAGES/FMNOTIFY.mo mode=0444 \
444    variant.opensolaris.zone=__NODEFAULT
445$(i386_ONLY)file path=usr/lib/locale/C/LC_MESSAGES/GMCA.mo mode=0444 \
446    variant.opensolaris.zone=__NODEFAULT
447$(i386_ONLY)file path=usr/lib/locale/C/LC_MESSAGES/INTEL.mo mode=0444 \
448    variant.opensolaris.zone=__NODEFAULT
449file path=usr/lib/locale/C/LC_MESSAGES/NIC.mo mode=0444 \
450    variant.opensolaris.zone=__NODEFAULT
451file path=usr/lib/locale/C/LC_MESSAGES/NXGE.mo mode=0444 \
452    variant.opensolaris.zone=__NODEFAULT
453file path=usr/lib/locale/C/LC_MESSAGES/PCI.mo mode=0444 \
454    variant.opensolaris.zone=__NODEFAULT
455file path=usr/lib/locale/C/LC_MESSAGES/PCIEX.mo mode=0444 \
456    variant.opensolaris.zone=__NODEFAULT
457file path=usr/lib/locale/C/LC_MESSAGES/SENSOR.mo mode=0444 \
458    variant.opensolaris.zone=__NODEFAULT
459file path=usr/lib/locale/C/LC_MESSAGES/SMF.mo mode=0444 \
460    variant.opensolaris.zone=__NODEFAULT
461file path=usr/lib/locale/C/LC_MESSAGES/STORAGE.mo mode=0444 \
462    variant.opensolaris.zone=__NODEFAULT
463file path=usr/lib/locale/C/LC_MESSAGES/SUNOS.mo mode=0444 \
464    variant.opensolaris.zone=__NODEFAULT
465file path=usr/lib/locale/C/LC_MESSAGES/ZFS.mo mode=0444 \
466    variant.opensolaris.zone=__NODEFAULT
467dir  path=usr/lib/mdb group=sys
468dir  path=usr/lib/mdb/proc group=sys
469#
470# mdb support will automatically be included in both contexts;
471# we allow eft.so to be included despite not delivering
472# the eft plugin in non-global zones
473#
474file path=usr/lib/mdb/proc/eft.so group=sys mode=0555
475file path=usr/lib/mdb/proc/fmd.so group=sys mode=0555
476dir  path=usr/platform group=sys
477$(i386_ONLY)dir path=usr/platform/i86pc group=sys
478$(i386_ONLY)dir path=usr/platform/i86pc/lib
479$(i386_ONLY)dir path=usr/platform/i86pc/lib/fm
480$(i386_ONLY)dir path=usr/platform/i86pc/lib/fm/eft
481$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/eft/$(ARCH64).eft mode=0444
482$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/eft/gcpu.eft mode=0444
483$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/eft/gcpu_amd.eft mode=0444
484$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/eft/intel.eft mode=0444
485$(i386_ONLY)dir path=usr/platform/i86pc/lib/fm/topo
486$(i386_ONLY)dir path=usr/platform/i86pc/lib/fm/topo/maps
487$(i386_ONLY)file \
488    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-1101-disk-hc-topology.xml \
489    mode=0444
490$(i386_ONLY)link \
491    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-3101-hc-topology.xml \
492    target=SSG-2028R-ACR24L-hc-topology.xml
493#
494# symlinks for paticular topo maps
495#
496
497$(i386_ONLY)link \
498    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-3101-usb.usbtopo \
499    target=SSG-2028R-ACR24L-usb.usbtopo
500$(i386_ONLY)link \
501    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-3102-hc-topology.xml \
502    target=SSG-2028R-ACR24L-hc-topology.xml
503$(i386_ONLY)link \
504    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-3102-usb.usbtopo \
505    target=SSG-2028R-ACR24L-usb.usbtopo
506$(i386_ONLY)file \
507    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-3301-hc-topology.xml \
508    mode=0444
509$(i386_ONLY)link \
510    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-3302-hc-topology.xml \
511    target=Joyent-Compute-Platform-3301-hc-topology.xml
512$(i386_ONLY)file \
513    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-330x-chassis-hc-topology.xml \
514    mode=0444
515$(i386_ONLY)file \
516    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Compute-Platform-330x-fan-hc-topology.xml \
517    mode=0444
518$(i386_ONLY)link \
519    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-M12G5-hc-topology.xml \
520    target=SSG-2029P-ACR24L-hc-topology.xml
521$(i386_ONLY)link \
522    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-M12G5-usb.usbtopo \
523    target=SSG-2029P-ACR24L-usb.usbtopo
524$(i386_ONLY)link \
525    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-S10G5-hc-topology.xml \
526    target=SSG-6049P-E1CR36L-hc-topology.xml
527$(i386_ONLY)link \
528    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-S10G5-usb.usbtopo \
529    target=SSG-6049P-E1CR36L-usb.usbtopo
530$(i386_ONLY)file \
531    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Storage-Platform-7001-chassis-hc-topology.xml \
532    mode=0444
533$(i386_ONLY)file \
534    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Storage-Platform-7001-hc-topology.xml \
535    mode=0444
536$(i386_ONLY)file \
537    path=usr/platform/i86pc/lib/fm/topo/maps/Joyent-Storage-Platform-7001-slot-hc-topology.xml \
538    mode=0444
539$(i386_ONLY)file \
540    path=usr/platform/i86pc/lib/fm/topo/maps/Netra-X4200-M2-disk-hc-topology.xml \
541    mode=0444
542$(i386_ONLY)file \
543    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2028R-ACR24L-chassis-hc-topology.xml \
544    mode=0444
545$(i386_ONLY)file \
546    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2028R-ACR24L-disk-hc-topology.xml \
547    mode=0444
548$(i386_ONLY)file \
549    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2028R-ACR24L-hc-topology.xml \
550    mode=0444
551$(i386_ONLY)file \
552    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2028R-ACR24L-slot-hc-topology.xml \
553    mode=0444
554$(i386_ONLY)file \
555    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2028R-ACR24L-usb.usbtopo \
556    mode=0444
557$(i386_ONLY)file \
558    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2029P-ACR24L-chassis-hc-topology.xml \
559    mode=0444
560$(i386_ONLY)file \
561    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2029P-ACR24L-disk-hc-topology.xml \
562    mode=0444
563$(i386_ONLY)file \
564    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2029P-ACR24L-hc-topology.xml \
565    mode=0444
566$(i386_ONLY)file \
567    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2029P-ACR24L-slot-hc-topology.xml \
568    mode=0444
569$(i386_ONLY)file \
570    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-2029P-ACR24L-usb.usbtopo \
571    mode=0444
572$(i386_ONLY)file \
573    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-6049P-E1CR36L-chassis-hc-topology.xml \
574    mode=0444
575$(i386_ONLY)file \
576    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-6049P-E1CR36L-hc-topology.xml \
577    mode=0444
578$(i386_ONLY)file \
579    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-6049P-E1CR36L-slot-hc-topology.xml \
580    mode=0444
581$(i386_ONLY)file \
582    path=usr/platform/i86pc/lib/fm/topo/maps/SSG-6049P-E1CR36L-usb.usbtopo \
583    mode=0444
584$(i386_ONLY)file \
585    path=usr/platform/i86pc/lib/fm/topo/maps/SYS-2028U-E1CNRT+-chassis-hc-topology.xml \
586    mode=0444
587$(i386_ONLY)file \
588    path=usr/platform/i86pc/lib/fm/topo/maps/SYS-2028U-E1CNRT+-hc-topology.xml \
589    mode=0444
590$(i386_ONLY)file \
591    path=usr/platform/i86pc/lib/fm/topo/maps/SYS-2028U-E1CNRT+-usb.usbtopo \
592    mode=0444
593$(i386_ONLY)file \
594    path=usr/platform/i86pc/lib/fm/topo/maps/Sun-Fire-X4200-M2-disk-hc-topology.xml \
595    mode=0444
596$(i386_ONLY)file \
597    path=usr/platform/i86pc/lib/fm/topo/maps/Sun-Fire-X4200-Server-disk-hc-topology.xml \
598    mode=0444
599$(i386_ONLY)file \
600    path=usr/platform/i86pc/lib/fm/topo/maps/Sun-Fire-X4500-disk-hc-topology.xml \
601    mode=0444
602$(i386_ONLY)file \
603    path=usr/platform/i86pc/lib/fm/topo/maps/Sun-Fire-X4540-disk-hc-topology.xml \
604    mode=0444
605$(i386_ONLY)file \
606    path=usr/platform/i86pc/lib/fm/topo/maps/Sun-Fire-X4600-M2-disk-hc-topology.xml \
607    mode=0444
608$(i386_ONLY)file \
609    path=usr/platform/i86pc/lib/fm/topo/maps/chassis-hc-topology.xml mode=0444
610$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/maps/chip-hc-topology.xml \
611    mode=0444
612$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/maps/fan-hc-topology.xml \
613    mode=0444
614$(i386_ONLY)file \
615    path=usr/platform/i86pc/lib/fm/topo/maps/i86pc-hc-topology.xml mode=0444
616$(i386_ONLY)file \
617    path=usr/platform/i86pc/lib/fm/topo/maps/i86pc-legacy-hc-topology.xml \
618    mode=0444
619$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/maps/psu-hc-topology.xml \
620    mode=0444
621$(i386_ONLY)dir path=usr/platform/i86pc/lib/fm/topo/plugins
622$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/plugins/chip.so mode=0555
623$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/plugins/chipset.so \
624    mode=0555
625$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/plugins/hostbridge.so \
626    mode=0555
627$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/plugins/pcibus.so mode=0555
628$(i386_ONLY)file path=usr/platform/i86pc/lib/fm/topo/plugins/x86pi.so mode=0555
629#
630# Some directories common to both global and non-global zones:
631#
632dir  path=usr/sbin variant.opensolaris.zone=__NODEFAULT
633#
634# Administrative utilities are common to both contexts
635#
636file path=usr/sbin/fmadm mode=0555 variant.opensolaris.zone=__NODEFAULT
637file path=usr/sbin/fmdump mode=0555 variant.opensolaris.zone=__NODEFAULT
638file path=usr/sbin/fmstat mode=0555 variant.opensolaris.zone=__NODEFAULT
639dir  path=usr/share variant.opensolaris.zone=__NODEFAULT
640dir  path=usr/share/lib variant.opensolaris.zone=__NODEFAULT
641dir  path=usr/share/lib/xml group=sys variant.opensolaris.zone=__NODEFAULT
642dir  path=usr/share/lib/xml/dtd group=sys variant.opensolaris.zone=__NODEFAULT
643#
644# Topo DTDs are also common
645#
646file path=usr/share/lib/xml/dtd/digraph-topology.dtd.1 \
647    variant.opensolaris.zone=__NODEFAULT
648file path=usr/share/lib/xml/dtd/topology.dtd.1 \
649    variant.opensolaris.zone=__NODEFAULT
650dir  path=usr/share/man/man8
651file path=usr/share/man/man8/fmadm.8
652file path=usr/share/man/man8/fmd.8
653file path=usr/share/man/man8/fmdump.8
654file path=usr/share/man/man8/fmstat.8
655dir  path=var/fm group=sys variant.opensolaris.zone=__NODEFAULT
656dir  path=var/fm/fmd group=sys variant.opensolaris.zone=__NODEFAULT
657dir  path=var/fm/fmd/ckpt group=sys variant.opensolaris.zone=__NODEFAULT
658dir  path=var/fm/fmd/rsrc group=sys variant.opensolaris.zone=__NODEFAULT
659dir  path=var/fm/fmd/xprt group=sys variant.opensolaris.zone=__NODEFAULT
660#
661# driver is global-zone only
662#
663driver name=fm perms="* 0644 root sys"
664#
665# legacy packaging and license
666#
667legacy pkg=SUNWfmd desc="Fault Management Daemon and Utilities" \
668    name="Fault Management Daemon and Utilities"
669legacy pkg=SUNWfmdr desc="Fault Management Daemon and Utilities (Root)" \
670    name="Fault Management Daemon and Utilities (Root)"
671license cr_Sun license=cr_Sun
672license lic_CDDL license=lic_CDDL
673