core: fixes for RandomizedOffsetSec= feature (#37981)

Fixes: #37870
Follow-up for: #36437
This commit is contained in:
Lennart Poettering
2025-06-26 22:58:22 +02:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -12266,6 +12266,7 @@ $ gdbus introspect --system --dest org.freedesktop.systemd1 \
<refsect2>
<title>Timer Objects</title>
<para><varname>DeferReactivation</varname> was added in version 257.</para>
<para><varname>RandomizedOffsetUSec</varname> was added in version 258.</para>
</refsect2>
</refsect1>

View File

@@ -2687,7 +2687,8 @@ static int bus_append_timer_property(sd_bus_message *m, const char *field, const
return bus_append_parse_boolean(m, field, eq);
if (STR_IN_SET(field, "AccuracySec",
"RandomizedDelaySec"))
"RandomizedDelaySec",
"RandomizedOffsetSec"))
return bus_append_parse_sec_rename(m, field, eq);
if (STR_IN_SET(field, "OnActiveSec",

View File

@@ -2044,7 +2044,6 @@ org.freedesktop.systemd1.Timer.OnClockChange
org.freedesktop.systemd1.Timer.OnTimezoneChange
org.freedesktop.systemd1.Timer.Persistent
org.freedesktop.systemd1.Timer.RandomizedDelayUSec
org.freedesktop.systemd1.Timer.RandomizedOffsetUSec
org.freedesktop.systemd1.Timer.RemainAfterElapse
org.freedesktop.systemd1.Timer.Result
org.freedesktop.systemd1.Timer.TimersCalendar