Print this page
5834 Remove dependency on sysidtool

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/svc/milestone/single-user.xml
          +++ new/usr/src/cmd/svc/milestone/single-user.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 2005 Sun Microsystems, Inc.  All rights reserved.
   5    5   Use is subject to license terms.
        6 + Copyright 2012 OmniTI Computer Consulting, Inc.  All rights reserved.
   6    7  
   7    8   CDDL HEADER START
   8    9  
   9   10   The contents of this file are subject to the terms of the
  10   11   Common Development and Distribution License, Version 1.0 only
  11   12   (the "License").  You may not use this file except in compliance
  12   13   with the License.
  13   14  
  14   15   You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  15   16   or http://www.opensolaris.org/os/licensing.
↓ open down ↓ 20 lines elided ↑ open up ↑
  36   37  
  37   38  <service
  38   39          name='milestone/single-user'
  39   40          type='service'
  40   41          version='1'>
  41   42  
  42   43          <create_default_instance enabled='true' />
  43   44  
  44   45          <single_instance />
  45   46  
  46      -        <!--
  47      -          Single-user's dependency on sysidtool is obsolete, but instead of
  48      -          removing it from this manifest, retain it here with its delete
  49      -          attribute set to true. This is to try and prevent a dependency
  50      -          cycle with the new sysidtool which declares a dependency on
  51      -          single-user. This will force the deletion of single-user's
  52      -          sysidtool dependency as soon as this manifest is imported
  53      -          (instead of waiting for upgrade to delete it).
  54      -
  55      -          Note that this does not guarantee the prevention of a dependency
  56      -          cycle (if the new sysidtool manifest is imported before
  57      -          single-user's) - if this does occur, the code in upgrade will
  58      -          catch it - it deletes single-user's dependency and "svcadm
  59      -          clear"s sysidtool.
  60      -        -->
  61      -
  62   47          <dependency
  63      -                name='sysidtool'
  64      -                grouping='require_all'
  65      -                restart_on='none'
  66      -                type='service'
  67      -                delete='true'>
  68      -                <service_fmri value='svc:/system/sysidtool:net' />
  69      -                <service_fmri value='svc:/system/sysidtool:system' />
  70      -        </dependency>
  71      -
  72      -        <dependency
  73   48                  name='nodename'
  74   49                  grouping='require_all'
  75   50                  restart_on='none'
  76   51                  type='service'>
  77   52                  <service_fmri value='svc:/system/identity:node' />
  78   53          </dependency>
  79   54  
  80   55          <dependency
  81   56                  name='filesystem-minimal'
  82   57                  grouping='require_all'
↓ open down ↓ 82 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX