Print this page
12071 clarify implementation of single_instance in SMF services
Reviewed by: Robert Mustacchi <rm@fingolfin.org>

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man1m/svc.startd.1m.man.txt
          +++ new/usr/src/man/man1m/svc.startd.1m.man.txt
↓ open down ↓ 252 lines elided ↑ open up ↑
 253  253         general/restarter
 254  254  
 255  255             If this FMRI property is empty or set to
 256  256             svc:/system/svc/restarter:default, the service is managed by
 257  257             svc.startd. Otherwise, the restarter specified is responsible (once
 258  258             it is available) for managing the service.
 259  259  
 260  260  
 261  261         general/single_instance
 262  262  
 263      -           If single_instance is set to true, svc.startd only allows one
 264      -           instance of this service to transition to online or degraded at any
 265      -           time.
      263 +           This was originally supposed to ensure that only one service
      264 +           instance could be in online or degraded state at once; however, it
      265 +           was never implemented, and is often incorrectly specified in multi-
      266 +           instance manifests. As such, it should be considered obsolete and
      267 +           not specified in new manifests.
 266  268  
 267  269  
 268  270  
 269  271         Additionally, svc.startd managed services can define the optional
 270  272         properties listed below in the startd property group.
 271  273  
 272  274         startd/critical_failure_count
 273  275         startd/critical_failure_period
 274  276  
 275  277             The critical_failure_count and critical_failure_period properties
↓ open down ↓ 154 lines elided ↑ open up ↑
 430  432  
 431  433  
 432  434  SEE ALSO
 433  435         svcs(1), svcprop(1), kernel(1M), init(1M), svcadm(1M), svccfg(1M),
 434  436         svc.configd(1M), setsid(2), syslog(3C), libscf(3LIB),
 435  437         scf_value_is_type(3SCF), contract(4), init.d(4), process(4),
 436  438         inittab(4), attributes(5), smf(5), smf_method(5)
 437  439  
 438  440  
 439  441  
 440      -                                March 18, 2011                  SVC.STARTD(1M)
      442 +                               December 11, 2019                SVC.STARTD(1M)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX