apt-daily timer runs at random hours of the day
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
High
|
Canonical Foundations Team | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
Yakkety |
Won't Fix
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned |
Bug Description
apt, from 1.2.10 onwards (ie any version in Xenial, onwards) uses a systemd timer instead of a cron.daily job. This is a good thing, decoupling apt daily runs from the rest of cron, and ensuring other cron.daily jobs are not blocked by up to half an hour by the default settings of unattended-
However the policy chosen is to have the apt daily script run at a random hour of the day in a wrong headed attempt to reduce server load. This has the side effect of running unattended-upgrades at random hours of the day — such as business hours — rather than being confined to between 6:25am and 6:55am, using the defaults.
A better policy would be to have the script activate at 6:00am plus an interval of 20 minutes at one second intervals reducing the impact of timezone population spikes, while still allowing unattended-upgrades to run within a predictable interval, before 7am.
At the very least, some sort of note in the NEWS file detailing the new behaviour would be welcome.
tags: | added: xenial |
tags: | added: rls-z-incoming |
Changed in apt (Ubuntu): | |
milestone: | none → ubuntu-17.10 |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
Changed in apt (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in apt (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in apt (Ubuntu Yakkety): | |
importance: | Undecided → High |
Changed in apt (Ubuntu Zesty): | |
importance: | Undecided → High |
Changed in apt (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in apt (Ubuntu Yakkety): | |
status: | New → In Progress |
Changed in apt (Ubuntu Zesty): | |
status: | New → In Progress |
tags: |
added: verification-done-zesty removed: verification-needed-zesty |
tags: | removed: regression-proposed |
Right, I understand this argument. We should think about this a bit more.