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