58091fd8689db902780a10667e0e8118a9454b8fsetje<?xml version="1.0"?>
58091fd8689db902780a10667e0e8118a9454b8fsetje<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
58091fd8689db902780a10667e0e8118a9454b8fsetje<!--
4d53c7addddea6a86730beb59363b8ba12e8252eDan Price Copyright 2009 Sun Microsystems, Inc. All rights reserved.
58091fd8689db902780a10667e0e8118a9454b8fsetje Use is subject to license terms.
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje CDDL HEADER START
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje The contents of this file are subject to the terms of the
58091fd8689db902780a10667e0e8118a9454b8fsetje Common Development and Distribution License (the "License").
58091fd8689db902780a10667e0e8118a9454b8fsetje You may not use this file except in compliance with the License.
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
58091fd8689db902780a10667e0e8118a9454b8fsetje or http://www.opensolaris.org/os/licensing.
58091fd8689db902780a10667e0e8118a9454b8fsetje See the License for the specific language governing permissions
58091fd8689db902780a10667e0e8118a9454b8fsetje and limitations under the License.
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje When distributing Covered Code, include this CDDL HEADER in each
58091fd8689db902780a10667e0e8118a9454b8fsetje file and include the License file at usr/src/OPENSOLARIS.LICENSE.
58091fd8689db902780a10667e0e8118a9454b8fsetje If applicable, add the following below this CDDL HEADER, with the
58091fd8689db902780a10667e0e8118a9454b8fsetje fields enclosed by brackets "[]" replaced with your own identifying
58091fd8689db902780a10667e0e8118a9454b8fsetje information: Portions Copyright [yyyy] [name of copyright owner]
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje CDDL HEADER END
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje NOTE: This service manifest is not editable; its contents will
58091fd8689db902780a10667e0e8118a9454b8fsetje be overwritten by package or patch operations, including
58091fd8689db902780a10667e0e8118a9454b8fsetje operating system upgrade. Make customizations in a different
58091fd8689db902780a10667e0e8118a9454b8fsetje file.
58091fd8689db902780a10667e0e8118a9454b8fsetje-->
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje<service_bundle type='manifest' name='SUNWcsr:boot-archive-update'>
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje<service
58091fd8689db902780a10667e0e8118a9454b8fsetje name='system/boot-archive-update'
58091fd8689db902780a10667e0e8118a9454b8fsetje type='service'
58091fd8689db902780a10667e0e8118a9454b8fsetje version='1'>
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje <create_default_instance enabled='true' />
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje <single_instance/>
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje <!--
58091fd8689db902780a10667e0e8118a9454b8fsetje This needs to depend on filesystem/local because the boot-archive
58091fd8689db902780a10667e0e8118a9454b8fsetje or the GRUB menu may live in /stubboot.
58091fd8689db902780a10667e0e8118a9454b8fsetje -->
58091fd8689db902780a10667e0e8118a9454b8fsetje <dependency
58091fd8689db902780a10667e0e8118a9454b8fsetje name='filesystem'
58091fd8689db902780a10667e0e8118a9454b8fsetje grouping='require_all'
58091fd8689db902780a10667e0e8118a9454b8fsetje restart_on='none'
58091fd8689db902780a10667e0e8118a9454b8fsetje type='service'>
58091fd8689db902780a10667e0e8118a9454b8fsetje <service_fmri value='svc:/system/filesystem/local' />
58091fd8689db902780a10667e0e8118a9454b8fsetje </dependency>
58091fd8689db902780a10667e0e8118a9454b8fsetje
410038ae77cdf98b41f02831473fcf1fdfced25esetje <!--
410038ae77cdf98b41f02831473fcf1fdfced25esetje Since updating the boot-archive can take a while on slow machines or
410038ae77cdf98b41f02831473fcf1fdfced25esetje when there are many glommed kernels to wad up, a longer timeout is
410038ae77cdf98b41f02831473fcf1fdfced25esetje needed. However if it doesn't finish eventually something up, and
410038ae77cdf98b41f02831473fcf1fdfced25esetje an error message to trigger further investigation is appropriate.
4d53c7addddea6a86730beb59363b8ba12e8252eDan Price
4d53c7addddea6a86730beb59363b8ba12e8252eDan Price Please note that a similar timeout exists in startd, which again
4d53c7addddea6a86730beb59363b8ba12e8252eDan Price runs bootadm at the end of shutdown. These timeouts should be
4d53c7addddea6a86730beb59363b8ba12e8252eDan Price adjusted in sync with each other.
410038ae77cdf98b41f02831473fcf1fdfced25esetje -->
58091fd8689db902780a10667e0e8118a9454b8fsetje <exec_method
58091fd8689db902780a10667e0e8118a9454b8fsetje type='method'
58091fd8689db902780a10667e0e8118a9454b8fsetje name='start'
58091fd8689db902780a10667e0e8118a9454b8fsetje exec='/lib/svc/method/boot-archive-update'
410038ae77cdf98b41f02831473fcf1fdfced25esetje timeout_seconds='3600' />
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje <exec_method
58091fd8689db902780a10667e0e8118a9454b8fsetje type='method'
58091fd8689db902780a10667e0e8118a9454b8fsetje name='stop'
58091fd8689db902780a10667e0e8118a9454b8fsetje exec=':true'
58091fd8689db902780a10667e0e8118a9454b8fsetje timeout_seconds='3' />
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje <property_group name='startd' type='framework'>
58091fd8689db902780a10667e0e8118a9454b8fsetje <propval name='duration' type='astring' value='transient' />
58091fd8689db902780a10667e0e8118a9454b8fsetje </property_group>
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje <stability value='Unstable' />
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje <template>
58091fd8689db902780a10667e0e8118a9454b8fsetje <common_name>
58091fd8689db902780a10667e0e8118a9454b8fsetje <loctext xml:lang='C'>
58091fd8689db902780a10667e0e8118a9454b8fsetje update boot archive if necessary
58091fd8689db902780a10667e0e8118a9454b8fsetje </loctext>
58091fd8689db902780a10667e0e8118a9454b8fsetje </common_name>
58091fd8689db902780a10667e0e8118a9454b8fsetje <description>
58091fd8689db902780a10667e0e8118a9454b8fsetje <loctext xml:lang='C'>
58091fd8689db902780a10667e0e8118a9454b8fsetje This service updates the boot archive if
58091fd8689db902780a10667e0e8118a9454b8fsetje a non fatal file was out of sync or if this
58091fd8689db902780a10667e0e8118a9454b8fsetje is a reconfiguration boot.
58091fd8689db902780a10667e0e8118a9454b8fsetje </loctext>
58091fd8689db902780a10667e0e8118a9454b8fsetje </description>
58091fd8689db902780a10667e0e8118a9454b8fsetje </template>
58091fd8689db902780a10667e0e8118a9454b8fsetje</service>
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje</service_bundle>