This seems to be a problem with any systemd timer that contains a
'RandomizedDelaySec' value in the [Timer] section. Multiple
randomization adjustments to a timer will often occur in quick
succession, sometimes simultaneously, and for no purpose that I can see.

Perhaps systemd timers need a flag to indicate that timer randomization
has already occurred since the relevant service was last run, so don't
do it again.

This is the result of 'journalctl -b | grep "random time"' covering just
the first hour after booting Xubuntu 16.04.1 this morning:

Nov 03 05:02:18 Phil-Desktop systemd[1]: hosts_append.timer: Adding 14.771780s 
random time.
Nov 03 05:02:18 Phil-Desktop systemd[1]: emachine-mount-nfs.timer: Adding 
3.905842s random time.
Nov 03 05:02:18 Phil-Desktop systemd[1]: apt-daily.timer: Adding 11h 10min 
46.989419s random time.
Nov 03 05:02:18 Phil-Desktop systemd[1]: send_boot_notify.timer: Adding 
12.437715s random time.
Nov 03 05:02:18 Phil-Desktop systemd[1]: send_apt_upgrades_list.timer: Adding 
41min 20.509782s random time.
Nov 03 05:02:18 Phil-Desktop systemd[1]: send_journald_log_list.timer: Adding 
3min 48.321721s random time.
Nov 03 05:02:19 Phil-Desktop systemd[1]: send_apt_upgrades_list.timer: Adding 
2min 53.039364s random time.
Nov 03 05:02:19 Phil-Desktop systemd[1]: send_journald_log_list.timer: Adding 
9min 39.120834s random time.
Nov 03 05:02:19 Phil-Desktop systemd[1]: send_boot_notify.timer: Adding 
649.932ms random time.
Nov 03 05:02:19 Phil-Desktop systemd[1]: apt-daily.timer: Adding 10h 36min 
12.532296s random time.
Nov 03 05:02:19 Phil-Desktop systemd[1]: hosts_append.timer: Adding 4.994423s 
random time.
Nov 03 05:03:39 Phil-Desktop systemd[1]: apt-daily.timer: Adding 4h 53min 
16.440349s random time.
Nov 03 05:03:39 Phil-Desktop systemd[1]: apt-daily.timer: Adding 8h 44min 
23.219990s random time.
Nov 03 06:03:45 Phil-Desktop systemd[1]: send_apt_upgrades_list.timer: Adding 
55min 558.055ms random time.
Nov 03 06:03:45 Phil-Desktop systemd[1]: send_apt_upgrades_list.timer: Adding 
25min 6.210969s random time.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576536

Title:
  timer messages unnecessarily sent to /dev/kmsg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1576536/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to