-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Override unattended-upgrade timers to make updates more closely aligned with cron-apt behaviour #5851
Comments
Marked as release stretch goal for now, @zenmonkeykstop defer to you if you want to immediately kick it over to 1.9.0. |
We discussed further in standup today. #5852 is expected to fix issues with the upgrade not being applied; if |
Right now I think there's at least one significant difference with |
Can we apply a preferable configuration state (e.g., where the upgrade time is dependent on the configured daily reboot time) in |
Right now, as far as I know (would be glad to be apprised of my ignorance) the only record on the servers of the daily reboot time chosen during So, probably, but I wouldn't enjoy having to try it. |
Yes,
to retrieve it programmatically. It would make sense to provide a default value, sanely "4:00" since that's default everywhere, but then we should be able to reuse it anywhere else. |
It's also available via But maybe better than cleverly constructing the calendars around the upgrade+reboot time is just starting that earlier in the hour than the update timer; then we wouldn't need windows around the upgrade to avoid cache lock problems. |
Description
By default, update and upgrade unattended-upgrade actions are triggered by systemd timers with a randomized delay of up t o12 hours. This makes updates occur at erratic intervals. The timing and delay is configurable via
systemctl edit <timername>
or by adding override.conf files under/etc/systemd/system/...
- ideally the timers should be set to trigger just before the nightly server reboot, similarly to the cron-apt behaviour in XenialUser Research Evidence
Zip. Nada.
User Stories
As an admin, I'd like to ensure that reboots and updates are applied during periods with reduced demand.
The text was updated successfully, but these errors were encountered: