* Todd E. Moore <Todd.Moore at Sun.COM> [2006-05-04 10:37]:
> Presently using custom jumpstart scripts in S8 and S9 environments that 
> cause the system to wait for the syncronization of the mirror of the 
> boot disk before proceeding.
> 
> With some initial testing of S10, the parallel startup and execution of 
> the services brings services on-line without waiting for the mirror sync 
> completing.
> 
> In this environment, it is desired to disable login/telnet/ssh until 
> after the mirroring completes.
> 
> Is it possible to create the same behavior in S10 as observed in S8 and S9.
> 
> The initial thought is that it can be done with a custom service, but 
> we're not sure how to define its dependencies or alter another services' 
> dependencies to create the right behavior.

  Using the dependent tag to make system/filesystem/local (or
  system/filesystem/minimal, if you believe you must block
  console-login) wait for your transient service to complete.

  That is, add the following to your manifest:

  <dependent
    name='me_fs-local'
    grouping='optional_all'
    restart_on='none'>
        <service_fmri value='svc:/system/filesystem/local' />
  </dependent>

  optional_all if it's okay that your method fails or could be disabled;
  otherwise, make the grouping require_all.

  - Stephen

-- 
Stephen Hahn, PhD  Solaris Kernel Development, Sun Microsystems
stephen.hahn at sun.com  http://blogs.sun.com/sch/

Reply via email to