Skip to content

Commit

Permalink
Add note about transactions being genereated independently of a unit'…
Browse files Browse the repository at this point in the history
…s state.

Meanwhile, change dead -> inactive as it is not a unit state.
  • Loading branch information
bl33pbl0p committed Jan 16, 2019
1 parent d27d60b commit 9b58352
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion man/systemd.xml
Expand Up @@ -396,7 +396,7 @@
loaded into memory are those for which at least one of the following conditions is true:</para>

<orderedlist>
<listitem><para>It is in an active, activating, deactivating or failed state (i.e. in any unit state except for <literal>dead</literal>)</para></listitem>
<listitem><para>It is in an active, activating, deactivating or failed state (i.e. in any unit state except for <literal>inactive</literal>)</para></listitem>
<listitem><para>It has a job queued for it</para></listitem>
<listitem><para>It is a dependency of some sort of at least one other unit that is loaded into memory</para></listitem>
<listitem><para>It has some form of resource still allocated (e.g. a service unit that is inactive but for which
Expand Down Expand Up @@ -452,6 +452,12 @@
means that before executing a requested operation, systemd will
verify that it makes sense, fixing it if possible, and only
failing if it really cannot work.</para>

<para>Note that transactions are generated independently of a unit's
state at runtime, hence, for example, if a start job is requested on an
already started unit, it will still generate a transaction and wake up any
inactive dependencies (and cause propagation of other jobs as per the
defined relationships).</para>

<para>systemd contains native implementations of various tasks
that need to be executed as part of the boot process. For example,
Expand Down

0 comments on commit 9b58352

Please sign in to comment.