ext-sources/postrun.xml
author an230044
Mon, 27 Sep 2010 11:32:21 +0000
branchopensolaris-2009-06
changeset 20102 2d19c462bb98
parent 8267 49b95be0367c
child 21872 693f0cf21170
permissions -rw-r--r--
6917569 CVE-2008-5824 libaudiofile contains heap-based buffer overflow in msadpcm.c Committing for Rohini because of svn issues on opensolaris2009.06 branch.

<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
<!--
 Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.

 CDDL HEADER START

 The contents of this file are subject to the terms of the
 Common Development and Distribution License, Version 1.0 only
 (the "License").  You may not use this file except in compliance
 with the License.

 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 or http://www.opensolaris.org/os/licensing.
 See the License for the specific language governing permissions
 and limitations under the License.

 CDDL HEADER END

	Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
	Use is subject to license terms.

	postrun.xml $rev$

	Service manifest for running postponed pkg postinstall commands
-->

<service_bundle type='manifest' name='SUNWpostrun-root:postrun'>

<service
	name='system/postrun'
	type='service'
	version='1'>

	<create_default_instance enabled='true' />

	<single_instance />

	<dependency
		name='usr'
		type='service'
		grouping='require_all'
		restart_on='none'>
		<service_fmri value='svc:/system/filesystem/local' />
	</dependency>

	<!--
	 If sysidtool alters the time zone, it will reboot(1M) the server
	 or zone.  This avoids doing package post-processing when there
	 is a high likelihood of an abrubt reboot.
	-->
	<dependency
		name='sysidtool'
		grouping='optional_all'
		restart_on='none'
		type='service'>
		<service_fmri
			value='svc:/system/sysidtool:system' />
	</dependency>

	<exec_method
		type='method'
		name='start'
		exec='/var/lib/postrun/postrun-runq'
		timeout_seconds='1800'>
		<method_context>
                        <method_credential user='root' group='root' />
                </method_context>
        </exec_method>

	<property_group name='startd' type='framework'>
		<propval name='duration' type='astring'
			value='transient' />
	</property_group>

	<stability value='Unstable' />

	<template>
		<common_name>
			<loctext xml:lang='C'>Postponed package postinstall command execution
				</loctext>
		</common_name>
	</template>
</service>

</service_bundle>