1 <?xml version="1.0"?> 2 <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> 3 <!-- 4 Copyright 2005 Sun Microsystems, Inc. All rights reserved. 5 Use is subject to license terms. 6 7 CDDL HEADER START 8 9 The contents of this file are subject to the terms of the 10 Common Development and Distribution License, Version 1.0 only 11 (the "License"). You may not use this file except in compliance 12 with the License. 13 14 You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 15 or http://www.opensolaris.org/os/licensing. 16 See the License for the specific language governing permissions 17 and limitations under the License. 18 19 CDDL HEADER END 20 21 Copyright 2004 Sun Microsystems, Inc. All rights reserved. 22 Use is subject to license terms. 23 24 postrun.xml $rev$ 25 26 Service manifest for running postponed pkg postinstall commands 27 --> 28 29 <service_bundle type='manifest' name='SUNWpostrun-root:postrun'> 30 31 <service 32 name='system/postrun' 33 type='service' 34 version='1'> 35 36 <create_default_instance enabled='true' /> 37 38 <single_instance /> 39 40 <dependency 41 name='usr' 42 type='service' 43 grouping='require_all' 44 restart_on='none'> 45 <service_fmri value='svc:/system/filesystem/local' /> 46 </dependency> 47 48 <!-- 49 If sysidtool alters the time zone, it will reboot(1M) the server 50 or zone. This avoids doing package post-processing when there 51 is a high likelihood of an abrubt reboot. 52 --> 53 <dependency 54 name='sysidtool' 55 grouping='optional_all' 56 restart_on='none' 57 type='service'> 58 <service_fmri 59 value='svc:/system/sysidtool:system' /> 60 </dependency> 61 62 <exec_method 63 type='method' 64 name='start' 65 exec='/var/lib/postrun/postrun-runq' 66 timeout_seconds='1800'> 67 <method_context> 68 <method_credential user='root' group='root' /> 69 </method_context> 70 </exec_method> 71 72 <property_group name='startd' type='framework'> 73 <propval name='duration' type='astring' 74 value='transient' /> 75 </property_group> 76 77 <stability value='Unstable' /> 78 79 <template> 80 <common_name> 81 <loctext xml:lang='C'>Postponed package postinstall command execution 82 </loctext> 83 </common_name> 84 </template> 85 </service> 86 87 </service_bundle> 88