Print this page
    
Disable fast reboot on OmniOS, and fix AD_FASTREBOOT spelling error.
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/cmd/halt/smf.sparc/boot-config.xml
          +++ new/usr/src/cmd/halt/smf.sparc/boot-config.xml
   1    1  <?xml version="1.0"?>
   2    2  <!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
   3    3  <!--
   4    4   Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
   5    5   Use is subject to license terms.
   6    6  
   7    7   CDDL HEADER START
   8    8  
   9    9   The contents of this file are subject to the terms of the
  10   10   Common Development and Distribution License (the "License").
  11   11   You may not use this file except in compliance with the License.
  12   12  
  13   13   You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  14   14   or http://www.opensolaris.org/os/licensing.
  15   15   See the License for the specific language governing permissions
  16   16   and limitations under the License.
  17   17  
  18   18   When distributing Covered Code, include this CDDL HEADER in each
  19   19   file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  20   20   If applicable, add the following below this CDDL HEADER, with the
  21   21   fields enclosed by brackets "[]" replaced with your own identifying
  22   22   information: Portions Copyright [yyyy] [name of copyright owner]
  23   23  
  24   24   CDDL HEADER END
  25   25  
  26   26      NOTE:  This service manifest is not editable; its contents will
  27   27      be overwritten by package or patch operations, including
  28   28      operating system upgrade.  Make customizations in a different
  29   29      file.
  30   30  -->
  31   31  
  32   32  <service_bundle type='manifest' name='SUNWcsr:boot-config'>
  33   33  
  34   34  <service
  35   35          name='system/boot-config'
  36   36          type='service'
  37   37          version='1'>
  38   38  
  39   39          <single_instance />
  40   40  
  41   41          <dependency
  42   42                  name='manifest_import'
  43   43                  grouping='optional_all'
  44   44                  restart_on='none'
  45   45                  type='service'>
  46   46                  <service_fmri value='svc:/system/manifest-import:default' />
  47   47          </dependency>
  48   48  
  49   49          <!-- The boot-config service is made to depend on milestone
  50   50          multi-user to minimize the chance for panic reboot loop. -->
  51   51          <dependency
  52   52                  name='boot_multi-user'
  53   53                  grouping='optional_all'
  54   54                  restart_on='none'
  55   55                  type='service'>
  56   56                  <service_fmri value='svc:/milestone/multi-user' />
  57   57          </dependency>
  58   58  
  59   59          <instance name='default' enabled = 'true'>
  60   60  
  61   61          <exec_method
  62   62                  type='method'
  63   63                  name='start'
  64   64                  exec='/lib/svc/method/svc-boot-config'
  65   65                  timeout_seconds='60' />
  66   66  
  67   67          <exec_method
  68   68                  type='method'
  69   69                  name='stop'
  70   70                  exec=':true'
  71   71                  timeout_seconds='60' />
  72   72  
  73   73          <exec_method
  74   74                  type='method'
  75   75                  name='refresh'
  76   76                  exec='/lib/svc/method/svc-boot-config'
  77   77                  timeout_seconds='60' />
  78   78  
  79   79          <property_group name='startd' type='framework'>
  80   80                  <propval name='duration' type='astring'
  81   81                          value='transient' />
  82   82          </property_group>
  83   83  
  84   84          <property_group name='general' type='framework'>
  85   85                  <propval name='action_authorization' type='astring'
  86   86                          value='solaris.system.shutdown' />
  87   87                  <propval name='value_authorization' type='astring'
  88   88                      value='solaris.system.shutdown' />
  89   89          </property_group>
  90   90  
  91   91          <property_group name='config' type='application'>
  92   92                  <stability value='Stable' />
  93   93                  <propval name='fastreboot_default' type='boolean'
  94   94                      value='false' />
  95   95                  <propval name='fastreboot_onpanic' type='boolean'
  96   96                      value='false' />
  97   97                  <propval name='value_authorization' type='astring'
  98   98                      value='solaris.system.shutdown' />
  99   99                  <propval name='uadmin_boot_archive_sync' type='boolean'
 100  100                      value='false' />    
 101  101          </property_group>
 102  102  
 103  103          <property_group name='fastreboot_blacklist' type='application'>
 104  104                  <stability value='Unstable' />
 105  105                  <property name='platforms' type='astring'>
 106  106                      <astring_list>
 107  107                          <value_node value='VirtualBox' />
 108  108                          <value_node value='VMware Virtual Platform' />
 109  109                          <value_node value='MCP55' />
 110  110                          <value_node value='Precision WorkStation 650    ' />
 111  111                          <value_node value='PowerEdge 1600SC           ' />
 112  112                      </astring_list>
 113  113                  </property>
 114  114          </property_group>
 115  115          </instance>
 116  116  
 117  117          <stability value='Stable' />
 118  118  
 119  119          <template>
 120  120                  <common_name>
 121  121                          <loctext xml:lang='C'>
 122  122                          Boot Configuration Management
 123  123                          </loctext>
 124  124                  </common_name>
 125  125                  <description>
 126  126                          <loctext xml:lang='C'>
 127  127  Apply the configuration defined in this service by uploading the configuration to the kernel.
 128  128                          </loctext>
 129  129                  </description>
 130  130                  <documentation>
 131  131                          <manpage title='reboot' section='1M'
 132  132                              manpath='/usr/share/man' />
 133  133                          <manpage title='init' section='1M'
 134  134                              manpath='/usr/share/man' />
 135  135                          <manpage title='uadmin' section='2'
 136  136                              manpath='/usr/share/man' />
 137  137                          <manpage title='quiesce' section='9E'
 138  138                              manpath='/usr/share/man' />
 139  139                  </documentation>
 140  140                  <pg_pattern name='config' type='application'
 141  141                      required='true'>
 142  142                      <common_name>
 143  143                              <loctext xml:lang='C'>
 144  144                              Boot Configuration Parameters
 145  145                              </loctext>
 146  146                      </common_name>
 147  147                      <description>
 148  148                          <loctext xml:lang='C'>
 149  149  Parameters for controlling the reboot behavior.
 150  150                          </loctext>
  
    | 
      ↓ open down ↓ | 
    150 lines elided | 
    
      ↑ open up ↑ | 
  
 151  151                      </description>
 152  152                      <prop_pattern name='fastreboot_default' type='boolean'
 153  153                          required='true'>
 154  154                          <common_name>
 155  155                              <loctext xml:lang='C'>
 156  156                              Fast Reboot by Default
 157  157                              </loctext>
 158  158                          </common_name>
 159  159                          <description>
 160  160                              <loctext xml:lang='C'>
 161      -When set to true, reboot(1M) and init(1M) 6 will call uadmin(2) with AD_FASTREOOT, which will bypass firmware.
      161 +When set to true, reboot(1M) and init(1M) 6 will call uadmin(2) with AD_FASTREBOOT, which will bypass firmware.
 162  162                              </loctext>
 163  163                          </description>
 164  164                      </prop_pattern>
 165  165                      <prop_pattern name='fastreboot_onpanic' type='boolean'
 166  166                          required='true'>
 167  167                          <common_name>
 168  168                              <loctext xml:lang='C'>
 169  169                              Fast Reboot on Panic
 170  170                              </loctext>
 171  171                          </common_name>
 172  172                          <description>
 173  173                              <loctext xml:lang='C'>
 174  174  When set to true, the system will fast reboot on panic.
 175  175                              </loctext>
 176  176                          </description>
 177  177                      </prop_pattern>
 178  178                  </pg_pattern>
 179  179  
 180  180          </template>
 181  181  </service>
 182  182  
 183  183  </service_bundle>
  
    | 
      ↓ open down ↓ | 
    12 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX