Bug#1033548: 02:00 timers dont run in DST transition night
Marc Haber
mh+debian-packages at zugschlus.de
Mon Mar 27 10:29:32 BST 2023
Package: systemd
Version: 252.6-1
Severity: minor
Hi,
aide-common ships the following timer:
[Unit]
Description=Daily AIDE check
[Timer]
OnCalendar=*-*-* 02:00:00
RandomizedDelaySec=2h
Persistent=true
[Install]
WantedBy=timers.target
This didn't run in DST transition night. I think this might be caused by
the clock jumping from 01:59 to 03:00, with 02:00 not existing.
Is there a notation to have a systemd timer run even if the exact time
the timer is supposed to run doesn't happen? I guess this might also be
the case in case of a grossly misticking clock and a timesync daemon
stepping the time, for example, from 01:59:50 to 02:02:00?
Or would be probably be a better idea to trigger a timer if systemd
finds the trigger time in the past without the timer having been
triggered?
Not running at all came as kind of surprise for me.
I might be holding things wrong but I'd like your opinion.
Greetings
Marc
-- Package-specific info:
-- System Information:
Debian Release: 12.0
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.2.8-zgsrv20080 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages systemd depends on:
ii libacl1 2.3.1-3
ii libaudit1 1:3.0.9-1
ii libblkid1 2.38.1-5+b1
ii libc6 2.36-8
ii libcap2 1:2.66-3
ii libcryptsetup12 2:2.6.1-3
ii libfdisk1 2.38.1-5+b1
ii libgcrypt20 1.10.1-3
ii libkmod2 30+20221128-1
ii liblz4-1 1.9.4-1
ii liblzma5 5.4.1-0.2
ii libmount1 2.38.1-5+b1
ii libp11-kit0 0.24.1-2
ii libseccomp2 2.5.4-1+b3
ii libselinux1 3.4-1+b5
ii libssl3 3.0.8-1
ii libsystemd-shared 252.6-1
ii libsystemd0 252.6-1
ii libzstd1 1.5.4+dfsg2-5
ii mount 2.38.1-5+b1
Versions of packages systemd recommends:
ii dbus [default-dbus-system-bus] 1.14.6-1
ii ntpsec [time-daemon] 1.2.2+dfsg1-1
Versions of packages systemd suggests:
ii libfido2-1 1.12.0-2+b1
pn libqrencode4 <none>
pn libtss2-esys-3.0.2-0 <none>
pn libtss2-mu0 <none>
pn libtss2-rc0 <none>
pn polkitd | policykit-1 <none>
pn systemd-boot <none>
pn systemd-container <none>
pn systemd-homed <none>
ii systemd-resolved 252.6-1
pn systemd-userdbd <none>
Versions of packages systemd is related to:
pn dbus-user-session <none>
pn dracut <none>
ii initramfs-tools 0.142
pn libnss-systemd <none>
ii libpam-systemd 252.6-1
ii udev 252.6-1
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list