Print this page
1681 support for BUILD64=# no longer works


   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 #
  25 
  26 #
  27 # The default for payload-bearing actions in this package is to appear in the
  28 # global zone only.  See the include file for greater detail, as well as
  29 # information about overriding the defaults.
  30 #
  31 <include global_zone_only_component>
  32 set name=pkg.fmri value=pkg:/service/fault-management@$(PKGVERS)
  33 set name=pkg.description value="Fault Management Daemon and Utilities"
  34 set name=pkg.summary value="Fault Management Daemon and Utilities"
  35 set name=info.classification \
  36     value="org.opensolaris.category.2008:System/Administration and Configuration"
  37 set name=variant.arch value=$(ARCH)
  38 #
  39 # Start by describing our directory structure.
  40 #
  41 # The snmp mibs are common to global and non-global zones
  42 #
  43 dir path=etc group=sys variant.opensolaris.zone=__NODEFAULT
  44 dir path=etc/fm group=sys variant.opensolaris.zone=__NODEFAULT
  45 dir path=etc/fm/fmd group=sys variant.opensolaris.zone=__NODEFAULT
  46 #
  47 # Our additional /etc/logadm.conf entries are common to global and local zones
  48 #
  49 dir path=etc/logadm.d group=sys variant.opensolaris.zone=__NODEFAULT
  50 dir path=etc/net-snmp variant.opensolaris.zone=__NODEFAULT
  51 dir path=etc/net-snmp/snmp variant.opensolaris.zone=__NODEFAULT
  52 dir path=etc/net-snmp/snmp/mibs variant.opensolaris.zone=__NODEFAULT
  53 #
  54 # Our kernel driver is global zone only
  55 #
  56 dir path=kernel group=sys
  57 dir path=kernel/drv group=sys
  58 dir path=kernel/drv/$(ARCH64) group=sys
  59 #
  60 # lib dirs:
  61 #
  62 dir path=lib/fm variant.opensolaris.zone=__NODEFAULT
  63 dir path=lib/fm/$(ARCH64) variant.opensolaris.zone=__NODEFAULT
  64 #
  65 # Our service manifests are common to global and non-global zones
  66 #
  67 dir path=lib/svc/manifest/system group=sys \
  68     variant.opensolaris.zone=__NODEFAULT
  69 dir path=lib/svc/manifest/system/fm group=sys \
  70     variant.opensolaris.zone=__NODEFAULT
  71 
  72 #
  73 # usr dirs:
  74 #       - most are common to both global and non-global zones
  75 #       - those mentioning 'include' will automatically apply to both
  76 #       - dictionaries are delivered to both contexts, even if they
  77 #         are hardware dictionaries
  78 #       - eversholt rules (eft) are global zone only
  79 #       - some plugins and all schemes apply to both contexts
  80 #       - we don't deliver any topo maps to non-global zones, but we
  81 #         create the directory nonetheless; similarly for topo plugins
  82 #       - paths mentioning mdb will automatically apply to both
  83 #       - usr/platform is global zone only
  84 #
  85 dir path=usr group=sys variant.opensolaris.zone=__NODEFAULT
  86 dir path=usr/include
  87 dir path=usr/include/fm
  88 dir path=usr/lib variant.opensolaris.zone=__NODEFAULT
  89 dir path=usr/lib/fm variant.opensolaris.zone=__NODEFAULT
  90 dir path=usr/lib/fm/$(ARCH64) variant.opensolaris.zone=__NODEFAULT
  91 dir path=usr/lib/fm/dict variant.opensolaris.zone=__NODEFAULT
  92 dir path=usr/lib/fm/eft
  93 dir path=usr/lib/fm/fmd variant.opensolaris.zone=__NODEFAULT
  94 dir path=usr/lib/fm/fmd/plugins variant.opensolaris.zone=__NODEFAULT
  95 dir path=usr/lib/fm/fmd/schemes variant.opensolaris.zone=__NODEFAULT
  96 dir path=usr/lib/fm/fmd/schemes/$(ARCH64) variant.opensolaris.zone=__NODEFAULT

  97 dir path=usr/lib/fm/notify variant.opensolaris.zone=__NODEFAULT
  98 dir path=usr/lib/fm/topo variant.opensolaris.zone=__NODEFAULT
  99 dir path=usr/lib/fm/topo/maps variant.opensolaris.zone=__NODEFAULT
 100 dir path=usr/lib/fm/topo/plugins variant.opensolaris.zone=__NODEFAULT
 101 dir path=usr/lib/locale variant.opensolaris.zone=__NODEFAULT
 102 dir path=usr/lib/locale/C variant.opensolaris.zone=__NODEFAULT
 103 dir path=usr/lib/locale/C/LC_MESSAGES variant.opensolaris.zone=__NODEFAULT
 104 dir path=usr/lib/mdb group=sys
 105 dir path=usr/lib/mdb/proc group=sys
 106 dir path=usr/platform group=sys
 107 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060 group=sys
 108 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib
 109 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm
 110 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/fmd
 111 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/fmd/plugins
 112 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/topo
 113 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/topo/maps
 114 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3260 group=sys
 115 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3260/lib
 116 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3260/lib/fm


 251     variant.opensolaris.zone=__NODEFAULT
 252 #
 253 # Now for our file and link payloads
 254 #
 255 # snmp MIBs are common to both global and non-global zones
 256 #
 257 file path=etc/net-snmp/snmp/mibs/SUN-FM-MIB.mib \
 258     variant.opensolaris.zone=__NODEFAULT
 259 file path=etc/net-snmp/snmp/mibs/SUN-IREPORT-MIB.mib \
 260     variant.opensolaris.zone=__NODEFAULT
 261 #
 262 # driver is global-zone only
 263 #
 264 file path=kernel/drv/$(ARCH64)/fm group=sys
 265 $(i386_ONLY)file path=kernel/drv/fm group=sys
 266 file path=kernel/drv/fm.conf group=sys
 267 
 268 #
 269 # Some libraries need to be in lib for install
 270 #
 271 file path=lib/fm/$(ARCH64)/libfmevent.so.1 \
 272     variant.opensolaris.zone=__NODEFAULT
 273 file path=lib/fm/$(ARCH64)/llib-lfmevent.ln \
 274     variant.opensolaris.zone=__NODEFAULT
 275 file path=lib/fm/libfmevent.so.1 variant.opensolaris.zone=__NODEFAULT
 276 file path=lib/fm/llib-lfmevent variant.opensolaris.zone=__NODEFAULT
 277 file path=lib/fm/llib-lfmevent.ln variant.opensolaris.zone=__NODEFAULT
 278 #
 279 # Service manifests are common to both global and non-global zones
 280 #
 281 file path=lib/svc/manifest/system/fm/notify-params.xml group=sys mode=0444 \
 282     variant.opensolaris.zone=__NODEFAULT
 283 file path=lib/svc/manifest/system/fmd.xml group=sys mode=0444 \
 284     variant.opensolaris.zone=__NODEFAULT
 285 #
 286 # Headers are automatically included in both contexts.
 287 # While some of these are from global-zone-only components
 288 # there's no harm in including them in both contexts.
 289 #
 290 file path=usr/include/fm/diagcode.h
 291 file path=usr/include/fm/fmd_adm.h
 292 file path=usr/include/fm/fmd_agent.h
 293 file path=usr/include/fm/fmd_api.h
 294 file path=usr/include/fm/fmd_fmri.h
 295 file path=usr/include/fm/fmd_log.h
 296 file path=usr/include/fm/fmd_msg.h
 297 file path=usr/include/fm/fmd_snmp.h
 298 file path=usr/include/fm/libdiskstatus.h
 299 file path=usr/include/fm/libfmevent.h
 300 file path=usr/include/fm/libfmevent_ruleset.h
 301 file path=usr/include/fm/libseslog.h
 302 file path=usr/include/fm/libtopo.h
 303 file path=usr/include/fm/topo_hc.h
 304 file path=usr/include/fm/topo_list.h
 305 file path=usr/include/fm/topo_method.h
 306 file path=usr/include/fm/topo_mod.h
 307 #
 308 #       64-bit .so.1
 309 #
 310 file path=usr/lib/fm/$(ARCH64)/libdiagcode.so.1 \
 311     variant.opensolaris.zone=__NODEFAULT
 312 file path=usr/lib/fm/$(ARCH64)/libdiskstatus.so.1 \
 313     variant.opensolaris.zone=__NODEFAULT
 314 file path=usr/lib/fm/$(ARCH64)/libfmd_adm.so.1 \
 315     variant.opensolaris.zone=__NODEFAULT
 316 file path=usr/lib/fm/$(ARCH64)/libfmd_agent.so.1 \
 317     variant.opensolaris.zone=__NODEFAULT
 318 file path=usr/lib/fm/$(ARCH64)/libfmd_log.so.1 \
 319     variant.opensolaris.zone=__NODEFAULT
 320 file path=usr/lib/fm/$(ARCH64)/libfmd_msg.so.1 \
 321     variant.opensolaris.zone=__NODEFAULT
 322 file path=usr/lib/fm/$(ARCH64)/libfmd_snmp.so.1 \
 323     variant.opensolaris.zone=__NODEFAULT
 324 file path=usr/lib/fm/$(ARCH64)/libfmnotify.so.1 \
 325     variant.opensolaris.zone=__NODEFAULT
 326 $(sparc_ONLY)file path=usr/lib/fm/$(ARCH64)/libldom.so.1
 327 $(sparc_ONLY)file path=usr/lib/fm/$(ARCH64)/libmdesc.so.1
 328 file path=usr/lib/fm/$(ARCH64)/libseslog.so.1
 329 file path=usr/lib/fm/$(ARCH64)/libtopo.so.1 \
 330     variant.opensolaris.zone=__NODEFAULT
 331 #
 332 #       64-bit lint libraries
 333 #
 334 file path=usr/lib/fm/$(ARCH64)/llib-ldiagcode.ln \
 335     variant.opensolaris.zone=__NODEFAULT
 336 file path=usr/lib/fm/$(ARCH64)/llib-ldiskstatus.ln \
 337     variant.opensolaris.zone=__NODEFAULT
 338 file path=usr/lib/fm/$(ARCH64)/llib-lfmd_adm.ln \
 339     variant.opensolaris.zone=__NODEFAULT
 340 file path=usr/lib/fm/$(ARCH64)/llib-lfmd_agent.ln \
 341     variant.opensolaris.zone=__NODEFAULT
 342 file path=usr/lib/fm/$(ARCH64)/llib-lfmd_log.ln \
 343     variant.opensolaris.zone=__NODEFAULT
 344 file path=usr/lib/fm/$(ARCH64)/llib-lfmd_msg.ln \
 345     variant.opensolaris.zone=__NODEFAULT
 346 file path=usr/lib/fm/$(ARCH64)/llib-lfmd_snmp.ln \
 347     variant.opensolaris.zone=__NODEFAULT
 348 file path=usr/lib/fm/$(ARCH64)/llib-lfmnotify.ln \
 349     variant.opensolaris.zone=__NODEFAULT
 350 $(sparc_ONLY)file path=usr/lib/fm/$(ARCH64)/llib-lldom.ln
 351 $(sparc_ONLY)file path=usr/lib/fm/$(ARCH64)/llib-lmdesc.ln
 352 file path=usr/lib/fm/$(ARCH64)/llib-lseslog.ln
 353 file path=usr/lib/fm/$(ARCH64)/llib-ltopo.ln \
 354     variant.opensolaris.zone=__NODEFAULT
 355 #
 356 # Dictionaries, whether they are hardware-specific or not, are
 357 # common to both global and non-global zones.
 358 #
 359 $(i386_ONLY)file path=usr/lib/fm/dict/AMD.dict mode=0444 \
 360     variant.opensolaris.zone=__NODEFAULT
 361 file path=usr/lib/fm/dict/DISK.dict mode=0444 \
 362     variant.opensolaris.zone=__NODEFAULT
 363 file path=usr/lib/fm/dict/FMD.dict mode=0444 \
 364     variant.opensolaris.zone=__NODEFAULT
 365 file path=usr/lib/fm/dict/FMNOTIFY.dict mode=0444 \
 366     variant.opensolaris.zone=__NODEFAULT
 367 $(i386_ONLY)file path=usr/lib/fm/dict/GMCA.dict mode=0444 \
 368     variant.opensolaris.zone=__NODEFAULT
 369 $(i386_ONLY)file path=usr/lib/fm/dict/INTEL.dict mode=0444 \
 370     variant.opensolaris.zone=__NODEFAULT
 371 file path=usr/lib/fm/dict/NXGE.dict mode=0444 \
 372     variant.opensolaris.zone=__NODEFAULT
 373 file path=usr/lib/fm/dict/PCI.dict mode=0444 \


 454     variant.opensolaris.zone=__NODEFAULT
 455 file path=usr/lib/fm/fmd/plugins/software-diagnosis.so mode=0555 \
 456     variant.opensolaris.zone=__NODEFAULT
 457 file path=usr/lib/fm/fmd/plugins/software-response.conf \
 458     variant.opensolaris.zone=__NODEFAULT
 459 file path=usr/lib/fm/fmd/plugins/software-response.so mode=0555 \
 460     variant.opensolaris.zone=__NODEFAULT
 461 file path=usr/lib/fm/fmd/plugins/sp-monitor.conf
 462 file path=usr/lib/fm/fmd/plugins/sp-monitor.so mode=0555
 463 file path=usr/lib/fm/fmd/plugins/syslog-msgs.conf \
 464     variant.opensolaris.zone=__NODEFAULT
 465 file path=usr/lib/fm/fmd/plugins/syslog-msgs.so mode=0555 \
 466     variant.opensolaris.zone=__NODEFAULT
 467 file path=usr/lib/fm/fmd/plugins/zfs-diagnosis.conf
 468 file path=usr/lib/fm/fmd/plugins/zfs-diagnosis.so mode=0555
 469 file path=usr/lib/fm/fmd/plugins/zfs-retire.conf
 470 file path=usr/lib/fm/fmd/plugins/zfs-retire.so mode=0555
 471 #
 472 # fmri scheme support: all are common to both global and non-global zones
 473 #
 474 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/cpu.so mode=0555 \
 475     variant.opensolaris.zone=__NODEFAULT
 476 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/dev.so mode=0555 \
 477     variant.opensolaris.zone=__NODEFAULT
 478 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/fmd.so mode=0555 \
 479     variant.opensolaris.zone=__NODEFAULT
 480 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/hc.so mode=0555 \
 481     variant.opensolaris.zone=__NODEFAULT
 482 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/legacy-hc.so mode=0555 \
 483     variant.opensolaris.zone=__NODEFAULT
 484 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/mem.so mode=0555 \
 485     variant.opensolaris.zone=__NODEFAULT
 486 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/mod.so mode=0555 \
 487     variant.opensolaris.zone=__NODEFAULT
 488 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/pkg.so mode=0555 \
 489     variant.opensolaris.zone=__NODEFAULT
 490 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/svc.so mode=0555 \
 491     variant.opensolaris.zone=__NODEFAULT
 492 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/sw.so mode=0555 \
 493     variant.opensolaris.zone=__NODEFAULT
 494 file path=usr/lib/fm/fmd/schemes/$(ARCH64)/zfs.so mode=0555 \
 495     variant.opensolaris.zone=__NODEFAULT
 496 file path=usr/lib/fm/fmd/schemes/cpu.so mode=0555 \
 497     variant.opensolaris.zone=__NODEFAULT
 498 file path=usr/lib/fm/fmd/schemes/dev.so mode=0555 \
 499     variant.opensolaris.zone=__NODEFAULT
 500 file path=usr/lib/fm/fmd/schemes/fmd.so mode=0555 \
 501     variant.opensolaris.zone=__NODEFAULT
 502 file path=usr/lib/fm/fmd/schemes/hc.so mode=0555 \
 503     variant.opensolaris.zone=__NODEFAULT
 504 file path=usr/lib/fm/fmd/schemes/legacy-hc.so mode=0555 \
 505     variant.opensolaris.zone=__NODEFAULT
 506 file path=usr/lib/fm/fmd/schemes/mem.so mode=0555 \
 507     variant.opensolaris.zone=__NODEFAULT
 508 file path=usr/lib/fm/fmd/schemes/mod.so mode=0555 \
 509     variant.opensolaris.zone=__NODEFAULT
 510 file path=usr/lib/fm/fmd/schemes/pkg.so mode=0555 \
 511     variant.opensolaris.zone=__NODEFAULT
 512 file path=usr/lib/fm/fmd/schemes/svc.so mode=0555 \
 513     variant.opensolaris.zone=__NODEFAULT
 514 file path=usr/lib/fm/fmd/schemes/sw.so mode=0555 \


 855 #
 856 file path=usr/share/lib/xml/dtd/topology.dtd.1 \
 857     variant.opensolaris.zone=__NODEFAULT
 858 file path=usr/share/man/man1m/fmadm.1m
 859 file path=usr/share/man/man1m/fmd.1m
 860 file path=usr/share/man/man1m/fmdump.1m
 861 file path=usr/share/man/man1m/fmstat.1m
 862 #
 863 # legacy packaging and license
 864 #
 865 legacy pkg=SUNWfmd desc="Fault Management Daemon and Utilities" \
 866     name="Fault Management Daemon and Utilities"
 867 legacy pkg=SUNWfmdr desc="Fault Management Daemon and Utilities (Root)" \
 868     name="Fault Management Daemon and Utilities (Root)"
 869 license cr_Sun license=cr_Sun
 870 license lic_CDDL license=lic_CDDL
 871 
 872 #
 873 # libraries .so symlinks in lib
 874 #
 875 link path=lib/fm/$(ARCH64)/libfmevent.so target=./libfmevent.so.1 \
 876     variant.opensolaris.zone=__NODEFAULT
 877 link path=lib/fm/libfmevent.so target=libfmevent.so.1 \
 878     variant.opensolaris.zone=__NODEFAULT
 879 
 880 #
 881 #       64-bit .so symlinks
 882 #
 883 link path=usr/lib/fm/$(ARCH64)/libdiagcode.so target=./libdiagcode.so.1 \
 884     variant.opensolaris.zone=__NODEFAULT
 885 link path=usr/lib/fm/$(ARCH64)/libdiskstatus.so target=./libdiskstatus.so.1 \
 886     variant.opensolaris.zone=__NODEFAULT
 887 link path=usr/lib/fm/$(ARCH64)/libfmd_adm.so target=./libfmd_adm.so.1 \
 888     variant.opensolaris.zone=__NODEFAULT
 889 link path=usr/lib/fm/$(ARCH64)/libfmd_agent.so target=./libfmd_agent.so.1 \
 890     variant.opensolaris.zone=__NODEFAULT
 891 link path=usr/lib/fm/$(ARCH64)/libfmd_log.so target=./libfmd_log.so.1 \
 892     variant.opensolaris.zone=__NODEFAULT
 893 link path=usr/lib/fm/$(ARCH64)/libfmd_msg.so target=./libfmd_msg.so.1 \
 894     variant.opensolaris.zone=__NODEFAULT
 895 link path=usr/lib/fm/$(ARCH64)/libfmd_snmp.so target=./libfmd_snmp.so.1 \
 896     variant.opensolaris.zone=__NODEFAULT
 897 link path=usr/lib/fm/$(ARCH64)/libfmevent.so \
 898     target=../../../../lib/fm/$(ARCH64)/libfmevent.so.1 \
 899     variant.opensolaris.zone=__NODEFAULT
 900 link path=usr/lib/fm/$(ARCH64)/libfmevent.so.1 \
 901     target=../../../../lib/fm/$(ARCH64)/libfmevent.so.1 \
 902     variant.opensolaris.zone=__NODEFAULT
 903 link path=usr/lib/fm/$(ARCH64)/libfmnotify.so target=./libfmnotify.so.1 \
 904     variant.opensolaris.zone=__NODEFAULT
 905 $(sparc_ONLY)link path=usr/lib/fm/$(ARCH64)/libldom.so target=libldom.so.1
 906 $(sparc_ONLY)link path=usr/lib/fm/$(ARCH64)/libmdesc.so target=libmdesc.so.1
 907 link path=usr/lib/fm/$(ARCH64)/libseslog.so target=./libseslog.so.1
 908 link path=usr/lib/fm/$(ARCH64)/libtopo.so target=libtopo.so.1 \

 909     variant.opensolaris.zone=__NODEFAULT
 910 link path=usr/lib/fm/$(ARCH64)/llib-lfmevent.ln \
 911     target=../../../../lib/fm/$(ARCH64)/llib-lfmevent.ln
 912 #
 913 #       32-bit .so symlinks
 914 #
 915 link path=usr/lib/fm/libdiagcode.so target=libdiagcode.so.1 \
 916     variant.opensolaris.zone=__NODEFAULT
 917 link path=usr/lib/fm/libdiskstatus.so target=libdiskstatus.so.1 \
 918     variant.opensolaris.zone=__NODEFAULT
 919 link path=usr/lib/fm/libfmd_adm.so target=libfmd_adm.so.1 \
 920     variant.opensolaris.zone=__NODEFAULT
 921 link path=usr/lib/fm/libfmd_agent.so target=libfmd_agent.so.1 \
 922     variant.opensolaris.zone=__NODEFAULT
 923 link path=usr/lib/fm/libfmd_log.so target=libfmd_log.so.1 \
 924     variant.opensolaris.zone=__NODEFAULT
 925 link path=usr/lib/fm/libfmd_msg.so target=libfmd_msg.so.1 \
 926     variant.opensolaris.zone=__NODEFAULT
 927 link path=usr/lib/fm/libfmd_snmp.so target=libfmd_snmp.so.1 \
 928     variant.opensolaris.zone=__NODEFAULT
 929 link path=usr/lib/fm/libfmevent.so target=../../../lib/fm/libfmevent.so.1 \
 930     variant.opensolaris.zone=__NODEFAULT




   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 2014 Andrew Stormont.
  25 #
  26 
  27 #
  28 # The default for payload-bearing actions in this package is to appear in the
  29 # global zone only.  See the include file for greater detail, as well as
  30 # information about overriding the defaults.
  31 #
  32 <include global_zone_only_component>
  33 set name=pkg.fmri value=pkg:/service/fault-management@$(PKGVERS)
  34 set name=pkg.description value="Fault Management Daemon and Utilities"
  35 set name=pkg.summary value="Fault Management Daemon and Utilities"
  36 set name=info.classification \
  37     value="org.opensolaris.category.2008:System/Administration and Configuration"
  38 set name=variant.arch value=$(ARCH)
  39 #
  40 # Start by describing our directory structure.
  41 #
  42 # The snmp mibs are common to global and non-global zones
  43 #
  44 dir path=etc group=sys variant.opensolaris.zone=__NODEFAULT
  45 dir path=etc/fm group=sys variant.opensolaris.zone=__NODEFAULT
  46 dir path=etc/fm/fmd group=sys variant.opensolaris.zone=__NODEFAULT
  47 #
  48 # Our additional /etc/logadm.conf entries are common to global and local zones
  49 #
  50 dir path=etc/logadm.d group=sys variant.opensolaris.zone=__NODEFAULT
  51 dir path=etc/net-snmp variant.opensolaris.zone=__NODEFAULT
  52 dir path=etc/net-snmp/snmp variant.opensolaris.zone=__NODEFAULT
  53 dir path=etc/net-snmp/snmp/mibs variant.opensolaris.zone=__NODEFAULT
  54 #
  55 # Our kernel driver is global zone only
  56 #
  57 dir path=kernel group=sys
  58 dir path=kernel/drv group=sys
  59 dir path=kernel/drv/$(ARCH64) group=sys
  60 #
  61 # lib dirs:
  62 #
  63 dir path=lib/fm variant.opensolaris.zone=__NODEFAULT
  64 $(BUILD64)dir path=lib/fm/$(ARCH64) variant.opensolaris.zone=__NODEFAULT
  65 #
  66 # Our service manifests are common to global and non-global zones
  67 #
  68 dir path=lib/svc/manifest/system group=sys \
  69     variant.opensolaris.zone=__NODEFAULT
  70 dir path=lib/svc/manifest/system/fm group=sys \
  71     variant.opensolaris.zone=__NODEFAULT
  72 
  73 #
  74 # usr dirs:
  75 #       - most are common to both global and non-global zones
  76 #       - those mentioning 'include' will automatically apply to both
  77 #       - dictionaries are delivered to both contexts, even if they
  78 #         are hardware dictionaries
  79 #       - eversholt rules (eft) are global zone only
  80 #       - some plugins and all schemes apply to both contexts
  81 #       - we don't deliver any topo maps to non-global zones, but we
  82 #         create the directory nonetheless; similarly for topo plugins
  83 #       - paths mentioning mdb will automatically apply to both
  84 #       - usr/platform is global zone only
  85 #
  86 dir path=usr group=sys variant.opensolaris.zone=__NODEFAULT
  87 dir path=usr/include
  88 dir path=usr/include/fm
  89 dir path=usr/lib variant.opensolaris.zone=__NODEFAULT
  90 dir path=usr/lib/fm variant.opensolaris.zone=__NODEFAULT
  91 $(BUILD64)dir path=usr/lib/fm/$(ARCH64) variant.opensolaris.zone=__NODEFAULT
  92 dir path=usr/lib/fm/dict variant.opensolaris.zone=__NODEFAULT
  93 dir path=usr/lib/fm/eft
  94 dir path=usr/lib/fm/fmd variant.opensolaris.zone=__NODEFAULT
  95 dir path=usr/lib/fm/fmd/plugins variant.opensolaris.zone=__NODEFAULT
  96 dir path=usr/lib/fm/fmd/schemes variant.opensolaris.zone=__NODEFAULT
  97 $(BUILD64)dir path=usr/lib/fm/fmd/schemes/$(ARCH64) \
  98     variant.opensolaris.zone=__NODEFAULT
  99 dir path=usr/lib/fm/notify variant.opensolaris.zone=__NODEFAULT
 100 dir path=usr/lib/fm/topo variant.opensolaris.zone=__NODEFAULT
 101 dir path=usr/lib/fm/topo/maps variant.opensolaris.zone=__NODEFAULT
 102 dir path=usr/lib/fm/topo/plugins variant.opensolaris.zone=__NODEFAULT
 103 dir path=usr/lib/locale variant.opensolaris.zone=__NODEFAULT
 104 dir path=usr/lib/locale/C variant.opensolaris.zone=__NODEFAULT
 105 dir path=usr/lib/locale/C/LC_MESSAGES variant.opensolaris.zone=__NODEFAULT
 106 dir path=usr/lib/mdb group=sys
 107 dir path=usr/lib/mdb/proc group=sys
 108 dir path=usr/platform group=sys
 109 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060 group=sys
 110 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib
 111 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm
 112 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/fmd
 113 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/fmd/plugins
 114 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/topo
 115 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3060/lib/fm/topo/maps
 116 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3260 group=sys
 117 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3260/lib
 118 $(sparc_ONLY)dir path=usr/platform/SUNW,Netra-CP3260/lib/fm


 253     variant.opensolaris.zone=__NODEFAULT
 254 #
 255 # Now for our file and link payloads
 256 #
 257 # snmp MIBs are common to both global and non-global zones
 258 #
 259 file path=etc/net-snmp/snmp/mibs/SUN-FM-MIB.mib \
 260     variant.opensolaris.zone=__NODEFAULT
 261 file path=etc/net-snmp/snmp/mibs/SUN-IREPORT-MIB.mib \
 262     variant.opensolaris.zone=__NODEFAULT
 263 #
 264 # driver is global-zone only
 265 #
 266 file path=kernel/drv/$(ARCH64)/fm group=sys
 267 $(i386_ONLY)file path=kernel/drv/fm group=sys
 268 file path=kernel/drv/fm.conf group=sys
 269 
 270 #
 271 # Some libraries need to be in lib for install
 272 #
 273 $(BUILD64)file path=lib/fm/$(ARCH64)/libfmevent.so.1 \
 274     variant.opensolaris.zone=__NODEFAULT
 275 $(BUILD64)file path=lib/fm/$(ARCH64)/llib-lfmevent.ln \
 276     variant.opensolaris.zone=__NODEFAULT
 277 file path=lib/fm/libfmevent.so.1 variant.opensolaris.zone=__NODEFAULT
 278 file path=lib/fm/llib-lfmevent variant.opensolaris.zone=__NODEFAULT
 279 file path=lib/fm/llib-lfmevent.ln variant.opensolaris.zone=__NODEFAULT
 280 #
 281 # Service manifests are common to both global and non-global zones
 282 #
 283 file path=lib/svc/manifest/system/fm/notify-params.xml group=sys mode=0444 \
 284     variant.opensolaris.zone=__NODEFAULT
 285 file path=lib/svc/manifest/system/fmd.xml group=sys mode=0444 \
 286     variant.opensolaris.zone=__NODEFAULT
 287 #
 288 # Headers are automatically included in both contexts.
 289 # While some of these are from global-zone-only components
 290 # there's no harm in including them in both contexts.
 291 #
 292 file path=usr/include/fm/diagcode.h
 293 file path=usr/include/fm/fmd_adm.h
 294 file path=usr/include/fm/fmd_agent.h
 295 file path=usr/include/fm/fmd_api.h
 296 file path=usr/include/fm/fmd_fmri.h
 297 file path=usr/include/fm/fmd_log.h
 298 file path=usr/include/fm/fmd_msg.h
 299 file path=usr/include/fm/fmd_snmp.h
 300 file path=usr/include/fm/libdiskstatus.h
 301 file path=usr/include/fm/libfmevent.h
 302 file path=usr/include/fm/libfmevent_ruleset.h
 303 file path=usr/include/fm/libseslog.h
 304 file path=usr/include/fm/libtopo.h
 305 file path=usr/include/fm/topo_hc.h
 306 file path=usr/include/fm/topo_list.h
 307 file path=usr/include/fm/topo_method.h
 308 file path=usr/include/fm/topo_mod.h
 309 #
 310 #       64-bit .so.1
 311 #
 312 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libdiagcode.so.1 \
 313     variant.opensolaris.zone=__NODEFAULT
 314 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libdiskstatus.so.1 \
 315     variant.opensolaris.zone=__NODEFAULT
 316 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libfmd_adm.so.1 \
 317     variant.opensolaris.zone=__NODEFAULT
 318 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libfmd_agent.so.1 \
 319     variant.opensolaris.zone=__NODEFAULT
 320 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libfmd_log.so.1 \
 321     variant.opensolaris.zone=__NODEFAULT
 322 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libfmd_msg.so.1 \
 323     variant.opensolaris.zone=__NODEFAULT
 324 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libfmd_snmp.so.1 \
 325     variant.opensolaris.zone=__NODEFAULT
 326 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libfmnotify.so.1 \
 327     variant.opensolaris.zone=__NODEFAULT
 328 $(sparc_BUILD64)file path=usr/lib/fm/$(ARCH64)/libldom.so.1
 329 $(sparc_BUILD64)file path=usr/lib/fm/$(ARCH64)/libmdesc.so.1
 330 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libseslog.so.1
 331 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/libtopo.so.1 \
 332     variant.opensolaris.zone=__NODEFAULT
 333 #
 334 #       64-bit lint libraries
 335 #
 336 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-ldiagcode.ln \
 337     variant.opensolaris.zone=__NODEFAULT
 338 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-ldiskstatus.ln \
 339     variant.opensolaris.zone=__NODEFAULT
 340 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lfmd_adm.ln \
 341     variant.opensolaris.zone=__NODEFAULT
 342 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lfmd_agent.ln \
 343     variant.opensolaris.zone=__NODEFAULT
 344 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lfmd_log.ln \
 345     variant.opensolaris.zone=__NODEFAULT
 346 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lfmd_msg.ln \
 347     variant.opensolaris.zone=__NODEFAULT
 348 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lfmd_snmp.ln \
 349     variant.opensolaris.zone=__NODEFAULT
 350 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lfmnotify.ln \
 351     variant.opensolaris.zone=__NODEFAULT
 352 $(sparc_BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lldom.ln
 353 $(sparc_BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lmdesc.ln
 354 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-lseslog.ln
 355 $(BUILD64)file path=usr/lib/fm/$(ARCH64)/llib-ltopo.ln \
 356     variant.opensolaris.zone=__NODEFAULT
 357 #
 358 # Dictionaries, whether they are hardware-specific or not, are
 359 # common to both global and non-global zones.
 360 #
 361 $(i386_ONLY)file path=usr/lib/fm/dict/AMD.dict mode=0444 \
 362     variant.opensolaris.zone=__NODEFAULT
 363 file path=usr/lib/fm/dict/DISK.dict mode=0444 \
 364     variant.opensolaris.zone=__NODEFAULT
 365 file path=usr/lib/fm/dict/FMD.dict mode=0444 \
 366     variant.opensolaris.zone=__NODEFAULT
 367 file path=usr/lib/fm/dict/FMNOTIFY.dict mode=0444 \
 368     variant.opensolaris.zone=__NODEFAULT
 369 $(i386_ONLY)file path=usr/lib/fm/dict/GMCA.dict mode=0444 \
 370     variant.opensolaris.zone=__NODEFAULT
 371 $(i386_ONLY)file path=usr/lib/fm/dict/INTEL.dict mode=0444 \
 372     variant.opensolaris.zone=__NODEFAULT
 373 file path=usr/lib/fm/dict/NXGE.dict mode=0444 \
 374     variant.opensolaris.zone=__NODEFAULT
 375 file path=usr/lib/fm/dict/PCI.dict mode=0444 \


 456     variant.opensolaris.zone=__NODEFAULT
 457 file path=usr/lib/fm/fmd/plugins/software-diagnosis.so mode=0555 \
 458     variant.opensolaris.zone=__NODEFAULT
 459 file path=usr/lib/fm/fmd/plugins/software-response.conf \
 460     variant.opensolaris.zone=__NODEFAULT
 461 file path=usr/lib/fm/fmd/plugins/software-response.so mode=0555 \
 462     variant.opensolaris.zone=__NODEFAULT
 463 file path=usr/lib/fm/fmd/plugins/sp-monitor.conf
 464 file path=usr/lib/fm/fmd/plugins/sp-monitor.so mode=0555
 465 file path=usr/lib/fm/fmd/plugins/syslog-msgs.conf \
 466     variant.opensolaris.zone=__NODEFAULT
 467 file path=usr/lib/fm/fmd/plugins/syslog-msgs.so mode=0555 \
 468     variant.opensolaris.zone=__NODEFAULT
 469 file path=usr/lib/fm/fmd/plugins/zfs-diagnosis.conf
 470 file path=usr/lib/fm/fmd/plugins/zfs-diagnosis.so mode=0555
 471 file path=usr/lib/fm/fmd/plugins/zfs-retire.conf
 472 file path=usr/lib/fm/fmd/plugins/zfs-retire.so mode=0555
 473 #
 474 # fmri scheme support: all are common to both global and non-global zones
 475 #
 476 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/cpu.so mode=0555 \
 477     variant.opensolaris.zone=__NODEFAULT
 478 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/dev.so mode=0555 \
 479     variant.opensolaris.zone=__NODEFAULT
 480 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/fmd.so mode=0555 \
 481     variant.opensolaris.zone=__NODEFAULT
 482 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/hc.so mode=0555 \
 483     variant.opensolaris.zone=__NODEFAULT
 484 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/legacy-hc.so mode=0555 \
 485     variant.opensolaris.zone=__NODEFAULT
 486 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/mem.so mode=0555 \
 487     variant.opensolaris.zone=__NODEFAULT
 488 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/mod.so mode=0555 \
 489     variant.opensolaris.zone=__NODEFAULT
 490 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/pkg.so mode=0555 \
 491     variant.opensolaris.zone=__NODEFAULT
 492 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/svc.so mode=0555 \
 493     variant.opensolaris.zone=__NODEFAULT
 494 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/sw.so mode=0555 \
 495     variant.opensolaris.zone=__NODEFAULT
 496 $(BUILD64)file path=usr/lib/fm/fmd/schemes/$(ARCH64)/zfs.so mode=0555 \
 497     variant.opensolaris.zone=__NODEFAULT
 498 file path=usr/lib/fm/fmd/schemes/cpu.so mode=0555 \
 499     variant.opensolaris.zone=__NODEFAULT
 500 file path=usr/lib/fm/fmd/schemes/dev.so mode=0555 \
 501     variant.opensolaris.zone=__NODEFAULT
 502 file path=usr/lib/fm/fmd/schemes/fmd.so mode=0555 \
 503     variant.opensolaris.zone=__NODEFAULT
 504 file path=usr/lib/fm/fmd/schemes/hc.so mode=0555 \
 505     variant.opensolaris.zone=__NODEFAULT
 506 file path=usr/lib/fm/fmd/schemes/legacy-hc.so mode=0555 \
 507     variant.opensolaris.zone=__NODEFAULT
 508 file path=usr/lib/fm/fmd/schemes/mem.so mode=0555 \
 509     variant.opensolaris.zone=__NODEFAULT
 510 file path=usr/lib/fm/fmd/schemes/mod.so mode=0555 \
 511     variant.opensolaris.zone=__NODEFAULT
 512 file path=usr/lib/fm/fmd/schemes/pkg.so mode=0555 \
 513     variant.opensolaris.zone=__NODEFAULT
 514 file path=usr/lib/fm/fmd/schemes/svc.so mode=0555 \
 515     variant.opensolaris.zone=__NODEFAULT
 516 file path=usr/lib/fm/fmd/schemes/sw.so mode=0555 \


 857 #
 858 file path=usr/share/lib/xml/dtd/topology.dtd.1 \
 859     variant.opensolaris.zone=__NODEFAULT
 860 file path=usr/share/man/man1m/fmadm.1m
 861 file path=usr/share/man/man1m/fmd.1m
 862 file path=usr/share/man/man1m/fmdump.1m
 863 file path=usr/share/man/man1m/fmstat.1m
 864 #
 865 # legacy packaging and license
 866 #
 867 legacy pkg=SUNWfmd desc="Fault Management Daemon and Utilities" \
 868     name="Fault Management Daemon and Utilities"
 869 legacy pkg=SUNWfmdr desc="Fault Management Daemon and Utilities (Root)" \
 870     name="Fault Management Daemon and Utilities (Root)"
 871 license cr_Sun license=cr_Sun
 872 license lic_CDDL license=lic_CDDL
 873 
 874 #
 875 # libraries .so symlinks in lib
 876 #
 877 $(BUILD64)link path=lib/fm/$(ARCH64)/libfmevent.so target=./libfmevent.so.1 \
 878     variant.opensolaris.zone=__NODEFAULT
 879 link path=lib/fm/libfmevent.so target=libfmevent.so.1 \
 880     variant.opensolaris.zone=__NODEFAULT
 881 
 882 #
 883 #       64-bit .so symlinks
 884 #
 885 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libdiagcode.so \
 886     target=./libdiagcode.so.1 variant.opensolaris.zone=__NODEFAULT
 887 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libdiskstatus.so \
 888     target=./libdiskstatus.so.1 variant.opensolaris.zone=__NODEFAULT
 889 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmd_adm.so \
 890     target=./libfmd_adm.so.1 variant.opensolaris.zone=__NODEFAULT
 891 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmd_agent.so \
 892     target=./libfmd_agent.so.1 variant.opensolaris.zone=__NODEFAULT
 893 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmd_log.so \
 894     target=./libfmd_log.so.1 variant.opensolaris.zone=__NODEFAULT
 895 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmd_msg.so \
 896     target=./libfmd_msg.so.1 variant.opensolaris.zone=__NODEFAULT
 897 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmd_snmp.so \
 898     target=./libfmd_snmp.so.1 variant.opensolaris.zone=__NODEFAULT
 899 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmevent.so \
 900     target=../../../../lib/fm/$(ARCH64)/libfmevent.so.1 \
 901     variant.opensolaris.zone=__NODEFAULT
 902 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmevent.so.1 \
 903     target=../../../../lib/fm/$(ARCH64)/libfmevent.so.1 \
 904     variant.opensolaris.zone=__NODEFAULT
 905 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libfmnotify.so \
 906     target=./libfmnotify.so.1 variant.opensolaris.zone=__NODEFAULT
 907 $(sparc_BUILD64)link path=usr/lib/fm/$(ARCH64)/libldom.so target=libldom.so.1
 908 $(sparc_BUILD64)link path=usr/lib/fm/$(ARCH64)/libmdesc.so \
 909     target=libmdesc.so.1
 910 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libseslog.so target=./libseslog.so.1
 911 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/libtopo.so target=libtopo.so.1 \
 912     variant.opensolaris.zone=__NODEFAULT
 913 $(BUILD64)link path=usr/lib/fm/$(ARCH64)/llib-lfmevent.ln \
 914     target=../../../../lib/fm/$(ARCH64)/llib-lfmevent.ln
 915 #
 916 #       32-bit .so symlinks
 917 #
 918 link path=usr/lib/fm/libdiagcode.so target=libdiagcode.so.1 \
 919     variant.opensolaris.zone=__NODEFAULT
 920 link path=usr/lib/fm/libdiskstatus.so target=libdiskstatus.so.1 \
 921     variant.opensolaris.zone=__NODEFAULT
 922 link path=usr/lib/fm/libfmd_adm.so target=libfmd_adm.so.1 \
 923     variant.opensolaris.zone=__NODEFAULT
 924 link path=usr/lib/fm/libfmd_agent.so target=libfmd_agent.so.1 \
 925     variant.opensolaris.zone=__NODEFAULT
 926 link path=usr/lib/fm/libfmd_log.so target=libfmd_log.so.1 \
 927     variant.opensolaris.zone=__NODEFAULT
 928 link path=usr/lib/fm/libfmd_msg.so target=libfmd_msg.so.1 \
 929     variant.opensolaris.zone=__NODEFAULT
 930 link path=usr/lib/fm/libfmd_snmp.so target=libfmd_snmp.so.1 \
 931     variant.opensolaris.zone=__NODEFAULT
 932 link path=usr/lib/fm/libfmevent.so target=../../../lib/fm/libfmevent.so.1 \
 933     variant.opensolaris.zone=__NODEFAULT