[OpenIndiana-discuss] services dependency cycle

Till Wegmueller toasterson at gmail.com
Sat May 7 16:16:48 UTC 2022


Thank you very much.

The problem with the live media seems to be the modifications to the 
services during building as it's special. On installed systems it's 
metainit.

So we can note that here for the future and know what it it.
Also you can look into /etc/svc/volatile/svc.startd.log and see all the 
services involved in the dependency cycle.

Greetings
Till

On 06.05.22 18:57, Carl Brewer wrote:
> 
> HTH
> 
> Carl
> 
> 
> 
> 
> root at dumper:/export/backups/fw/fs/home/private# svcs -l 
> svc:/system/filesystem/usr:default
> fmri         svc:/system/filesystem/usr:default
> name         read/write root file systems mounts
> enabled      true
> state        online
> next_state   none
> state_time   April 22, 2022 at 06:26:19 AM AEST
> logfile      /var/svc/log/system-filesystem-usr:default.log
> restarter    svc:/system/svc/restarter:default
> dependency   require_all/none svc:/system/boot-archive (online)
> dependency   optional_all/none svc:/system/scheduler (online)
> 
> 
> root at dumper:/export/backups/fw/fs/home/private# svcs -l 
> svc:/system/filesystem/minimal:default
> fmri         svc:/system/filesystem/minimal:default
> name         minimal file system mounts
> enabled      true
> state        online
> next_state   none
> state_time   April 22, 2022 at 06:26:20 AM AEST
> logfile      /var/svc/log/system-filesystem-minimal:default.log
> restarter    svc:/system/svc/restarter:default
> dependency   require_all/none svc:/system/filesystem/usr (online)
> dependency   require_all/none svc:/system/device/local (online)
> 
> 
> root at dumper:/export/backups/fw/fs/home/private# svcs -l 
> svc:/system/device/local:default
> fmri         svc:/system/device/local:default
> name         standard device configuration.
> enabled      true
> state        online
> next_state   none
> state_time   April 22, 2022 at 06:26:19 AM AEST
> logfile      /var/svc/log/system-device-local:default.log
> restarter    svc:/system/svc/restarter:default
> dependency   require_all/none svc:/system/filesystem/usr (online)
> dependency   require_all/none svc:/network/datalink-management (online)
> root at dumper:/export/backups/fw/fs/home/private#
> 
> 
> 
> # grep -A 3 -B 6 -R 'system/filesystem/usr' /lib/svc/manifest/
> /lib/svc/manifest/application/print/server.xml-
> /lib/svc/manifest/application/print/server.xml- <dependency
> /lib/svc/manifest/application/print/server.xml-     name='filesystem'
> /lib/svc/manifest/application/print/server.xml-     grouping='require_all'
> /lib/svc/manifest/application/print/server.xml-     restart_on='none'
> /lib/svc/manifest/application/print/server.xml-     type='service'>
> /lib/svc/manifest/application/print/server.xml:         <service_fmri 
> value='svc:/system/filesystem/usr'/>
> /lib/svc/manifest/application/print/server.xml- </dependency>
> /lib/svc/manifest/application/print/server.xml-
> /lib/svc/manifest/application/print/server.xml- <dependency
> -- 
> /lib/svc/manifest/application/ipmidetectd.xml-          <dependency
> /lib/svc/manifest/application/ipmidetectd.xml- name='filesystem-usr'
> /lib/svc/manifest/application/ipmidetectd.xml- grouping='require_all'
> /lib/svc/manifest/application/ipmidetectd.xml-          restart_on='none'
> /lib/svc/manifest/application/ipmidetectd.xml-          type='service'>
> /lib/svc/manifest/application/ipmidetectd.xml- <service_fmri
> /lib/svc/manifest/application/ipmidetectd.xml: 
> value='svc:/system/filesystem/usr:default'/>
> /lib/svc/manifest/application/ipmidetectd.xml-          </dependency>
> /lib/svc/manifest/application/ipmidetectd.xml-
> /lib/svc/manifest/application/ipmidetectd.xml-  <!--
> -- 
> /lib/svc/manifest/application/ipmiseld.xml-             <dependency
> /lib/svc/manifest/application/ipmiseld.xml- name='filesystem-usr'
> /lib/svc/manifest/application/ipmiseld.xml- grouping='require_all'
> /lib/svc/manifest/application/ipmiseld.xml-             restart_on='none'
> /lib/svc/manifest/application/ipmiseld.xml-             type='service'>
> /lib/svc/manifest/application/ipmiseld.xml- <service_fmri
> /lib/svc/manifest/application/ipmiseld.xml: 
> value='svc:/system/filesystem/usr:default'/>
> /lib/svc/manifest/application/ipmiseld.xml-             </dependency>
> /lib/svc/manifest/application/ipmiseld.xml-
> /lib/svc/manifest/application/ipmiseld.xml-     <!--
> -- 
> /lib/svc/manifest/system/keymap.xml-
> /lib/svc/manifest/system/keymap.xml-    <dependency
> /lib/svc/manifest/system/keymap.xml-            name='usr'
> /lib/svc/manifest/system/keymap.xml-            type='service'
> /lib/svc/manifest/system/keymap.xml-            grouping='require_all'
> /lib/svc/manifest/system/keymap.xml-            restart_on='none'>
> /lib/svc/manifest/system/keymap.xml:            <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/system/keymap.xml-    </dependency>
> /lib/svc/manifest/system/keymap.xml-
> /lib/svc/manifest/system/keymap.xml-    <dependent
> -- 
> /lib/svc/manifest/system/pfexecd.xml-
> /lib/svc/manifest/system/pfexecd.xml-   <dependency
> /lib/svc/manifest/system/pfexecd.xml-           name='usr'
> /lib/svc/manifest/system/pfexecd.xml-           type='service'
> /lib/svc/manifest/system/pfexecd.xml-           grouping='require_all'
> /lib/svc/manifest/system/pfexecd.xml-           restart_on='none'>
> /lib/svc/manifest/system/pfexecd.xml:           <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/system/pfexecd.xml-   </dependency>
> /lib/svc/manifest/system/pfexecd.xml-
> /lib/svc/manifest/system/pfexecd.xml-   <exec_method
> -- 
> /lib/svc/manifest/system/scheduler.xml-
> /lib/svc/manifest/system/scheduler.xml- <single_instance />
> /lib/svc/manifest/system/scheduler.xml-
> /lib/svc/manifest/system/scheduler.xml- <!--
> /lib/svc/manifest/system/scheduler.xml-         The scheduler service 
> changes the default scheduling class from
> /lib/svc/manifest/system/scheduler.xml-         /etc/dispadmin.conf. It 
> therefore must have / (root) and /usr
> /lib/svc/manifest/system/scheduler.xml:         mounted readable. 
> svc:/system/filesystem/usr (which remounts /
> /lib/svc/manifest/system/scheduler.xml-         and /usr read-writable) 
> is dependent on svc:/system/scheduler to
> /lib/svc/manifest/system/scheduler.xml-         ensure that subsequent 
> services can use their own scheduling
> /lib/svc/manifest/system/scheduler.xml-         class.
> -- 
> /lib/svc/manifest/system/scheduler.xml- </dependency>
> /lib/svc/manifest/system/scheduler.xml-
> /lib/svc/manifest/system/scheduler.xml- <dependent
> /lib/svc/manifest/system/scheduler.xml-         name='scheduler_usr'
> /lib/svc/manifest/system/scheduler.xml-         grouping='optional_all'
> /lib/svc/manifest/system/scheduler.xml-         restart_on='none'>
> /lib/svc/manifest/system/scheduler.xml:         <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/system/scheduler.xml- </dependent>
> /lib/svc/manifest/system/scheduler.xml-
> /lib/svc/manifest/system/scheduler.xml- <exec_method
> -- 
> /lib/svc/manifest/system/device/devices-local.xml-
> /lib/svc/manifest/system/device/devices-local.xml-        <dependency
> /lib/svc/manifest/system/device/devices-local.xml-                
> name='usr'
> /lib/svc/manifest/system/device/devices-local.xml- grouping='require_all'
> /lib/svc/manifest/system/device/devices-local.xml- restart_on='none'
> /lib/svc/manifest/system/device/devices-local.xml- type='service'>
> /lib/svc/manifest/system/device/devices-local.xml: <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/system/device/devices-local.xml-        </dependency>
> /lib/svc/manifest/system/device/devices-local.xml-
> /lib/svc/manifest/system/device/devices-local.xml-      <!--
> -- 
> /lib/svc/manifest/system/filesystem/minimal-fs.xml-
> /lib/svc/manifest/system/filesystem/minimal-fs.xml-     <dependency
> /lib/svc/manifest/system/filesystem/minimal-fs.xml-             name='usr'
> /lib/svc/manifest/system/filesystem/minimal-fs.xml- grouping='require_all'
> /lib/svc/manifest/system/filesystem/minimal-fs.xml- restart_on='none'
> /lib/svc/manifest/system/filesystem/minimal-fs.xml- type='service'>
> /lib/svc/manifest/system/filesystem/minimal-fs.xml: <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/system/filesystem/minimal-fs.xml-     </dependency>
> /lib/svc/manifest/system/filesystem/minimal-fs.xml-
> /lib/svc/manifest/system/filesystem/minimal-fs.xml-     <dependency
> -- 
> /lib/svc/manifest/system/filesystem/usr-fs.xml- file.
> /lib/svc/manifest/system/filesystem/usr-fs.xml--->
> /lib/svc/manifest/system/filesystem/usr-fs.xml-
> /lib/svc/manifest/system/filesystem/usr-fs.xml-<service_bundle 
> type='manifest' name='SUNWcsr:filesystem-usr'>
> /lib/svc/manifest/system/filesystem/usr-fs.xml-
> /lib/svc/manifest/system/filesystem/usr-fs.xml-<service
> /lib/svc/manifest/system/filesystem/usr-fs.xml: 
> name='system/filesystem/usr'
> /lib/svc/manifest/system/filesystem/usr-fs.xml- type='service'
> /lib/svc/manifest/system/filesystem/usr-fs.xml- version='1'>
> /lib/svc/manifest/system/filesystem/usr-fs.xml-
> -- 
> /lib/svc/manifest/network/network-ipqos.xml-
> /lib/svc/manifest/network/network-ipqos.xml-    <dependency
> /lib/svc/manifest/network/network-ipqos.xml-            name='filesystem'
> /lib/svc/manifest/network/network-ipqos.xml- grouping='require_all'
> /lib/svc/manifest/network/network-ipqos.xml-            restart_on='none'
> /lib/svc/manifest/network/network-ipqos.xml-            type='service'>
> /lib/svc/manifest/network/network-ipqos.xml:            <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-ipqos.xml-    </dependency>
> /lib/svc/manifest/network/network-ipqos.xml-
> /lib/svc/manifest/network/network-ipqos.xml-    <exec_method
> -- 
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-  <dependency
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-          name='filesystem'
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml- grouping='require_all'
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-          type='service'
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-          restart_on='error'>
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml:          <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-  </dependency>
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-  <dependency
> -- 
> /lib/svc/manifest/network/network-routing-setup.xml-    <!-- usr 
> filesystem required to run routing-related commands -->
> /lib/svc/manifest/network/network-routing-setup.xml-    <dependency
> /lib/svc/manifest/network/network-routing-setup.xml- name='filesystem'
> /lib/svc/manifest/network/network-routing-setup.xml- grouping='require_all'
> /lib/svc/manifest/network/network-routing-setup.xml- restart_on='none'
> /lib/svc/manifest/network/network-routing-setup.xml- type='service'>
> /lib/svc/manifest/network/network-routing-setup.xml: <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-routing-setup.xml-    </dependency>
> /lib/svc/manifest/network/network-routing-setup.xml-
> /lib/svc/manifest/network/network-routing-setup.xml-    <!--
> -- 
> /lib/svc/manifest/network/network-service.xml-  <dependency
> /lib/svc/manifest/network/network-service.xml-          name='filesystem'
> /lib/svc/manifest/network/network-service.xml- grouping='require_all'
> /lib/svc/manifest/network/network-service.xml-          restart_on='none'
> /lib/svc/manifest/network/network-service.xml-          type='service'>
> /lib/svc/manifest/network/network-service.xml-          <service_fmri 
> value='svc:/system/filesystem/root' />
> /lib/svc/manifest/network/network-service.xml:          <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-service.xml-          <service_fmri 
> value='svc:/system/filesystem/minimal' />
> /lib/svc/manifest/network/network-service.xml-  </dependency>
> /lib/svc/manifest/network/network-service.xml-
> -- 
> /lib/svc/manifest/network/network-location.xml-
> /lib/svc/manifest/network/network-location.xml- <dependency
> /lib/svc/manifest/network/network-location.xml-         name='filesystem'
> /lib/svc/manifest/network/network-location.xml- grouping='require_all'
> /lib/svc/manifest/network/network-location.xml-         restart_on='none'
> /lib/svc/manifest/network/network-location.xml-         type='service'>
> /lib/svc/manifest/network/network-location.xml:         <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-location.xml- </dependency>
> /lib/svc/manifest/network/network-location.xml-
> /lib/svc/manifest/network/network-location.xml- <!--
> -- 
> /lib/svc/manifest/network/network-initial.xml-
> /lib/svc/manifest/network/network-initial.xml-  <dependency
> /lib/svc/manifest/network/network-initial.xml-          name='filesystem'
> /lib/svc/manifest/network/network-initial.xml- grouping='require_all'
> /lib/svc/manifest/network/network-initial.xml-          restart_on='none'
> /lib/svc/manifest/network/network-initial.xml-          type='service'>
> /lib/svc/manifest/network/network-initial.xml:          <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-initial.xml-  </dependency>
> /lib/svc/manifest/network/network-initial.xml-
> /lib/svc/manifest/network/network-initial.xml-  <exec_method
> -- 
> /lib/svc/manifest/network/dns/install.xml-      <dependency
> /lib/svc/manifest/network/dns/install.xml-              name='filesystem'
> /lib/svc/manifest/network/dns/install.xml- grouping='require_all'
> /lib/svc/manifest/network/dns/install.xml-              restart_on='none'
> /lib/svc/manifest/network/dns/install.xml-              type='service'>
> /lib/svc/manifest/network/dns/install.xml-              <service_fmri 
> value='svc:/system/filesystem/root' />
> /lib/svc/manifest/network/dns/install.xml:              <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/dns/install.xml-              <service_fmri 
> value='svc:/system/filesystem/minimal' />
> /lib/svc/manifest/network/dns/install.xml-      </dependency>
> /lib/svc/manifest/network/dns/install.xml-
> -- 
> /lib/svc/manifest/network/ipmievd.xml-  <dependency
> /lib/svc/manifest/network/ipmievd.xml-      name='filesystem-usr'
> /lib/svc/manifest/network/ipmievd.xml-      grouping='require_all'
> /lib/svc/manifest/network/ipmievd.xml-      restart_on='none'
> /lib/svc/manifest/network/ipmievd.xml-      type='service'>
> /lib/svc/manifest/network/ipmievd.xml-      <service_fmri
> /lib/svc/manifest/network/ipmievd.xml: 
> value='svc:/system/filesystem/usr:default'/>
> /lib/svc/manifest/network/ipmievd.xml-  </dependency>
> /lib/svc/manifest/network/ipmievd.xml-
> /lib/svc/manifest/network/ipmievd.xml-  <!--
> root at dumper:/export/backups/fw/fs/home/private#
> [gw][ (0*$ sh)  1-$ sh            ][05/07/22  7:56 AM]
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-          type='service'
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-          restart_on='error'>
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml:          <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-  </dependency>
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-
> /lib/svc/manifest/network/ipsec/ipsecalgs.xml-  <dependency
> -- 
> /lib/svc/manifest/network/network-routing-setup.xml-    <!-- usr 
> filesystem required to run routing-related commands -->
> /lib/svc/manifest/network/network-routing-setup.xml-    <dependency
> /lib/svc/manifest/network/network-routing-setup.xml- name='filesystem'
> /lib/svc/manifest/network/network-routing-setup.xml- grouping='require_all'
> /lib/svc/manifest/network/network-routing-setup.xml- restart_on='none'
> /lib/svc/manifest/network/network-routing-setup.xml- type='service'>
> /lib/svc/manifest/network/network-routing-setup.xml: <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-routing-setup.xml-    </dependency>
> /lib/svc/manifest/network/network-routing-setup.xml-
> /lib/svc/manifest/network/network-routing-setup.xml-    <!--
> -- 
> /lib/svc/manifest/network/network-service.xml-  <dependency
> /lib/svc/manifest/network/network-service.xml-          name='filesystem'
> /lib/svc/manifest/network/network-service.xml- grouping='require_all'
> /lib/svc/manifest/network/network-service.xml-          restart_on='none'
> /lib/svc/manifest/network/network-service.xml-          type='service'>
> /lib/svc/manifest/network/network-service.xml-          <service_fmri 
> value='svc:/system/filesystem/root' />
> /lib/svc/manifest/network/network-service.xml:          <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-service.xml-          <service_fmri 
> value='svc:/system/filesystem/minimal' />
> /lib/svc/manifest/network/network-service.xml-  </dependency>
> /lib/svc/manifest/network/network-service.xml-
> -- 
> /lib/svc/manifest/network/network-location.xml-
> /lib/svc/manifest/network/network-location.xml- <dependency
> /lib/svc/manifest/network/network-location.xml-         name='filesystem'
> /lib/svc/manifest/network/network-location.xml- grouping='require_all'
> /lib/svc/manifest/network/network-location.xml-         restart_on='none'
> /lib/svc/manifest/network/network-location.xml-         type='service'>
> /lib/svc/manifest/network/network-location.xml:         <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-location.xml- </dependency>
> /lib/svc/manifest/network/network-location.xml-
> /lib/svc/manifest/network/network-location.xml- <!--
> -- 
> /lib/svc/manifest/network/network-initial.xml-
> /lib/svc/manifest/network/network-initial.xml-  <dependency
> /lib/svc/manifest/network/network-initial.xml-          name='filesystem'
> /lib/svc/manifest/network/network-initial.xml- grouping='require_all'
> /lib/svc/manifest/network/network-initial.xml-          restart_on='none'
> /lib/svc/manifest/network/network-initial.xml-          type='service'>
> /lib/svc/manifest/network/network-initial.xml:          <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/network-initial.xml-  </dependency>
> /lib/svc/manifest/network/network-initial.xml-
> /lib/svc/manifest/network/network-initial.xml-  <exec_method
> -- 
> /lib/svc/manifest/network/dns/install.xml-      <dependency
> /lib/svc/manifest/network/dns/install.xml-              name='filesystem'
> /lib/svc/manifest/network/dns/install.xml- grouping='require_all'
> /lib/svc/manifest/network/dns/install.xml-              restart_on='none'
> /lib/svc/manifest/network/dns/install.xml-              type='service'>
> /lib/svc/manifest/network/dns/install.xml-              <service_fmri 
> value='svc:/system/filesystem/root' />
> /lib/svc/manifest/network/dns/install.xml:              <service_fmri 
> value='svc:/system/filesystem/usr' />
> /lib/svc/manifest/network/dns/install.xml-              <service_fmri 
> value='svc:/system/filesystem/minimal' />
> /lib/svc/manifest/network/dns/install.xml-      </dependency>
> /lib/svc/manifest/network/dns/install.xml-
> -- 
> /lib/svc/manifest/network/ipmievd.xml-  <dependency
> /lib/svc/manifest/network/ipmievd.xml-      name='filesystem-usr'
> /lib/svc/manifest/network/ipmievd.xml-      grouping='require_all'
> /lib/svc/manifest/network/ipmievd.xml-      restart_on='none'
> /lib/svc/manifest/network/ipmievd.xml-      type='service'>
> /lib/svc/manifest/network/ipmievd.xml-      <service_fmri
> /lib/svc/manifest/network/ipmievd.xml: 
> value='svc:/system/filesystem/usr:default'/>
> /lib/svc/manifest/network/ipmievd.xml-  </dependency>
> /lib/svc/manifest/network/ipmievd.xml-
> /lib/svc/manifest/network/ipmievd.xml-  <!--
> root at dumper:/export/backups/fw/fs/home/private#
> [gw][ (0*$ sh)  1-$ sh
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list