summaryrefslogtreecommitdiffstats
path: root/man/org.freedesktop.systemd1.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-04-23 23:27:23 +0200
committerLennart Poettering <lennart@poettering.net>2024-04-25 13:40:41 +0200
commit3c1d1ca146d59c6dad808e7fc6e778ee65875ab8 (patch)
tree878431c8fae08197e37a01b6c6ef170c508cf26c /man/org.freedesktop.systemd1.xml
parentexecute: send handoff timestamps from executor to service manager (diff)
downloadsystemd-3c1d1ca146d59c6dad808e7fc6e778ee65875ab8.tar.xz
systemd-3c1d1ca146d59c6dad808e7fc6e778ee65875ab8.zip
manager: switch service unit type over to using new handoff timestamping logic
Also: rename Handover → Handoff. I think it makes it clearer that this is not really about handing over any resources, but that the executor is out off the game from that point on.
Diffstat (limited to 'man/org.freedesktop.systemd1.xml')
-rw-r--r--man/org.freedesktop.systemd1.xml34
1 files changed, 18 insertions, 16 deletions
diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml
index ca8696bed5..9e29eda4e0 100644
--- a/man/org.freedesktop.systemd1.xml
+++ b/man/org.freedesktop.systemd1.xml
@@ -2766,8 +2766,8 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice {
readonly t ExecMainStartTimestampMonotonic = ...;
readonly t ExecMainExitTimestamp = ...;
readonly t ExecMainExitTimestampMonotonic = ...;
- readonly t ExecMainHandoverTimestamp = ...;
- readonly t ExecMainHandoverTimestampMonotonic = ...;
+ readonly t ExecMainHandoffTimestamp = ...;
+ readonly t ExecMainHandoffTimestampMonotonic = ...;
readonly u ExecMainPID = ...;
readonly i ExecMainCode = ...;
readonly i ExecMainStatus = ...;
@@ -4057,9 +4057,9 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice {
<variablelist class="dbus-property" generated="True" extra-ref="ExecMainExitTimestampMonotonic"/>
- <variablelist class="dbus-property" generated="True" extra-ref="ExecMainHandoverTimestamp"/>
+ <variablelist class="dbus-property" generated="True" extra-ref="ExecMainHandoffTimestamp"/>
- <variablelist class="dbus-property" generated="True" extra-ref="ExecMainHandoverTimestampMonotonic"/>
+ <variablelist class="dbus-property" generated="True" extra-ref="ExecMainHandoffTimestampMonotonic"/>
<variablelist class="dbus-property" generated="True" extra-ref="ExecMainPID"/>
@@ -4710,18 +4710,20 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice {
<para><varname>ExecMainStartTimestamp</varname>, <varname>ExecMainStartTimestampMonotonic</varname>,
<varname>ExecMainExitTimestamp</varname>, <varname>ExecMainExitTimestampMonotonic</varname>,
- <varname>ExecMainHandoverTimestamp</varname>, <varname>ExecMainHandoverTimestampMonotonic</varname>,
+ <varname>ExecMainHandoffTimestamp</varname>, <varname>ExecMainHandoffTimestampMonotonic</varname>,
<varname>ExecMainPID</varname>, <varname>ExecMainCode</varname>, <varname>ExecMainStatus</varname>
contain information about the main process of the service as far as it is known. The
- <varname>ExecMainStartTimestamp</varname> timestamps record when the main child process is spawned by
- the service manager. <varname>ExecMainExitTimestamp</varname> timestamps record when the main child
- process exit has been detected by the service manager. <varname>ExecMainHandoverTimestamp</varname>
- timestamps record when the service executable is executed by <command>systemd-executor</command> for
- services of type <literal>exec</literal>, <literal>dbus</literal>, <literal>notify</literal>, and
- <literal>notify-reload</literal>. This is often the same runtime information that is stored in
- <varname>ExecStart=</varname>. However, it deviates for <varname>Type=forking</varname> services where
- the main process of the service is not forked off systemd directly. These fields either contain
- information of the last run of the process or of the current running process.</para>
+ <varname>ExecMainStartTimestamp</varname> timestamps record when the main process of the service is
+ created. <varname>ExecMainExitTimestamp</varname> timestamps record when the main process exit has been
+ detected by the service manager. <varname>ExecMainHandoffTimestamp</varname> timestamps records when
+ the service binary is about to be executed by <command>systemd-executor</command> (this timestamp is
+ recorded regardless if the immediately following <function>execve()</function> system call succeeds or
+ fails). This is often the same runtime information that is also maintained for
+ <varname>ExecStart=</varname>. However, it deviates for services with <varname>Type=forking</varname>
+ as well as services that use <varname>MAINPID=</varname> <function>sd_notify()</function> messages as
+ the main process of the service is not forked off by the service manager directly in that case. These
+ fields either contain information of the last run of the process or of the current running
+ process.</para>
<para><varname>MainPID</varname> and <varname>ControlPID</varname> contain the main and control PID of
the service. The main PID is the current main PID of the service and is 0 when the service currently
@@ -12067,8 +12069,8 @@ $ gdbus introspect --system --dest org.freedesktop.systemd1 \
<varname>EffectiveMemoryMax</varname>,
<varname>EffectiveTasksMax</varname>,
<varname>MemoryZSwapWriteback</varname>,
- <varname>ExecMainHandoverTimestampMonotonic</varname>, and
- <varname>ExecMainHandoverTimestamp</varname> were added in version 256.</para>
+ <varname>ExecMainHandoffTimestampMonotonic</varname>, and
+ <varname>ExecMainHandoffTimestamp</varname> were added in version 256.</para>
</refsect2>
<refsect2>
<title>Socket Unit Objects</title>