17c478bd9Sstevel@tonic-gate<?xml version="1.0"?> 27c478bd9Sstevel@tonic-gate<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 37c478bd9Sstevel@tonic-gate<!-- 4*f6e214c7SGavin Maltby Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. 57c478bd9Sstevel@tonic-gate 67c478bd9Sstevel@tonic-gate CDDL HEADER START 77c478bd9Sstevel@tonic-gate 87c478bd9Sstevel@tonic-gate The contents of this file are subject to the terms of the 9*f6e214c7SGavin Maltby Common Development and Distribution License (the "License"). 10*f6e214c7SGavin Maltby You may not use this file except in compliance with the License. 117c478bd9Sstevel@tonic-gate 127c478bd9Sstevel@tonic-gate You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 137c478bd9Sstevel@tonic-gate or http://www.opensolaris.org/os/licensing. 147c478bd9Sstevel@tonic-gate See the License for the specific language governing permissions 157c478bd9Sstevel@tonic-gate and limitations under the License. 167c478bd9Sstevel@tonic-gate 177c478bd9Sstevel@tonic-gate When distributing Covered Code, include this CDDL HEADER in each 187c478bd9Sstevel@tonic-gate file and include the License file at usr/src/OPENSOLARIS.LICENSE. 197c478bd9Sstevel@tonic-gate If applicable, add the following below this CDDL HEADER, with the 207c478bd9Sstevel@tonic-gate fields enclosed by brackets "[]" replaced with your own identifying 217c478bd9Sstevel@tonic-gate information: Portions Copyright [yyyy] [name of copyright owner] 227c478bd9Sstevel@tonic-gate 237c478bd9Sstevel@tonic-gate CDDL HEADER END 247c478bd9Sstevel@tonic-gate 257c478bd9Sstevel@tonic-gate NOTE: This service manifest is not editable; its contents will 267c478bd9Sstevel@tonic-gate be overwritten by package or patch operations, including 277c478bd9Sstevel@tonic-gate operating system upgrade. Make customizations in a different 287c478bd9Sstevel@tonic-gate file. 297c478bd9Sstevel@tonic-gate 307c478bd9Sstevel@tonic-gate Service manifest for dumpadm. 317c478bd9Sstevel@tonic-gate--> 327c478bd9Sstevel@tonic-gate 337c478bd9Sstevel@tonic-gate<service_bundle type='manifest' name='SUNWckr:dumpadm'> 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate<service 367c478bd9Sstevel@tonic-gate name='system/dumpadm' 377c478bd9Sstevel@tonic-gate type='service' 387c478bd9Sstevel@tonic-gate version='1'> 397c478bd9Sstevel@tonic-gate 407c478bd9Sstevel@tonic-gate <create_default_instance enabled='true' /> 417c478bd9Sstevel@tonic-gate 427c478bd9Sstevel@tonic-gate <single_instance /> 437c478bd9Sstevel@tonic-gate 447c478bd9Sstevel@tonic-gate <!-- 457c478bd9Sstevel@tonic-gate The dumpadm(1M) service reconfigures the kernel's dump settings 467c478bd9Sstevel@tonic-gate from /etc/dumpadm.conf and then invokes savecore(1M) to locate 477c478bd9Sstevel@tonic-gate and retrieve any saved crash dumps. It therefore needs to have 487c478bd9Sstevel@tonic-gate local filesystems mounted, and must also have an *optional* 497c478bd9Sstevel@tonic-gate dependency on nfs.client and autofs in case dumpadm -s has been 507c478bd9Sstevel@tonic-gate used to set the savecore directory to an NFS or AutoFS mount. 517c478bd9Sstevel@tonic-gate --> 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gate <dependency 547c478bd9Sstevel@tonic-gate name='local-filesystems' 557c478bd9Sstevel@tonic-gate type='service' 567c478bd9Sstevel@tonic-gate grouping='require_all' 577c478bd9Sstevel@tonic-gate restart_on='none'> 587c478bd9Sstevel@tonic-gate <service_fmri value='svc:/system/filesystem/local' /> 597c478bd9Sstevel@tonic-gate </dependency> 607c478bd9Sstevel@tonic-gate 617c478bd9Sstevel@tonic-gate <dependency 627c478bd9Sstevel@tonic-gate name='remote-filesystems' 637c478bd9Sstevel@tonic-gate type='service' 647c478bd9Sstevel@tonic-gate grouping='optional_all' 657c478bd9Sstevel@tonic-gate restart_on='none'> 667c478bd9Sstevel@tonic-gate <service_fmri value='svc:/network/nfs/client' /> 677c478bd9Sstevel@tonic-gate <service_fmri value='svc:/system/filesystem/autofs' /> 687c478bd9Sstevel@tonic-gate </dependency> 697c478bd9Sstevel@tonic-gate 70*f6e214c7SGavin Maltby <!-- 71*f6e214c7SGavin Maltby The fmd service exists in all Solaris zones, but only 72*f6e214c7SGavin Maltby in the global zone (which dumpadm is defined in) should 73*f6e214c7SGavin Maltby it be dependent on dumpadm configuration. 74*f6e214c7SGavin Maltby --> 75*f6e214c7SGavin Maltby <dependent 76*f6e214c7SGavin Maltby name='dumpadm-fmd' 77*f6e214c7SGavin Maltby grouping='require_all' 78*f6e214c7SGavin Maltby restart_on='none'> 79*f6e214c7SGavin Maltby <service_fmri value='svc:/system/fmd' /> 80*f6e214c7SGavin Maltby </dependent> 81*f6e214c7SGavin Maltby 827c478bd9Sstevel@tonic-gate <exec_method 837c478bd9Sstevel@tonic-gate type='method' 847c478bd9Sstevel@tonic-gate name='start' 857c478bd9Sstevel@tonic-gate exec='/lib/svc/method/svc-dumpadm' 867c478bd9Sstevel@tonic-gate timeout_seconds='0' /> 877c478bd9Sstevel@tonic-gate 887c478bd9Sstevel@tonic-gate <exec_method 897c478bd9Sstevel@tonic-gate type='method' 907c478bd9Sstevel@tonic-gate name='stop' 917c478bd9Sstevel@tonic-gate exec=':true' 927c478bd9Sstevel@tonic-gate timeout_seconds='0' /> 937c478bd9Sstevel@tonic-gate 947c478bd9Sstevel@tonic-gate <property_group name='startd' type='framework'> 957c478bd9Sstevel@tonic-gate <propval name='duration' type='astring' value='transient' /> 967c478bd9Sstevel@tonic-gate </property_group> 977c478bd9Sstevel@tonic-gate 987c478bd9Sstevel@tonic-gate <stability value='Unstable' /> 997c478bd9Sstevel@tonic-gate 1007c478bd9Sstevel@tonic-gate <template> 1017c478bd9Sstevel@tonic-gate <common_name> 1027c478bd9Sstevel@tonic-gate <loctext xml:lang='C'> 1037c478bd9Sstevel@tonic-gate system crash dump configuration 1047c478bd9Sstevel@tonic-gate </loctext> 1057c478bd9Sstevel@tonic-gate </common_name> 1067c478bd9Sstevel@tonic-gate 1077c478bd9Sstevel@tonic-gate <documentation> 1087c478bd9Sstevel@tonic-gate <manpage 1097c478bd9Sstevel@tonic-gate title='dumpadm' 1107c478bd9Sstevel@tonic-gate section='1M' 1117c478bd9Sstevel@tonic-gate manpath='/usr/share/man' /> 1127c478bd9Sstevel@tonic-gate </documentation> 1137c478bd9Sstevel@tonic-gate </template> 1147c478bd9Sstevel@tonic-gate</service> 1157c478bd9Sstevel@tonic-gate 1167c478bd9Sstevel@tonic-gate</service_bundle> 117