Bug#997943: systemd: Persistent attribute of timer is ignored

Michael Biebl biebl at debian.org
Wed Oct 27 20:50:39 BST 2021


On 27.10.21 21:42, Michael Biebl wrote:
> Possibly related
> https://github.com/systemd/systemd/pull/11608

The commit message explains it rather well:

https://github.com/systemd/systemd/pull/11608/commits/a87c1d3a979f8c2641471bed93577558a1027a24

> core: delay persistent timers by "RandomizedDelaySec=" at boot.
> Fixes #5659.
> Currently, if Persistent=true and the machine is off at the scheduled time of the timer unit, the timer
> will be triggered immediately at the next boot even if RandomizedDelaySec= is specified.
> 
> As a result, if multiple timers meet that condition, they will be triggered at the same time and too
> much CPU/IO work makes boot slow down.
> 
> With this commit, if the scheduled time of the persistent timer has already elapsed at boot,
> set the time when systemd first started as the scheduled time and RandomizedDelaySec= is applied to it.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20211027/fd2415bd/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list