unattended_upgrades: blacklist libc6, libc-bin and systemd, their upgrade restarts every service at once

This commit is contained in:
2026-11-14 07:42:29 +00:00
parent a6e1657363
commit 704a5d9389
2 changed files with 15 additions and 0 deletions
+7
View File
@@ -11,6 +11,13 @@ unattended_upgrades:
- ${distro_id}:${distro_codename}-security
- ${distro_id}ESMApps:${distro_codename}-apps-security
- ${distro_id}ESM:${distro_codename}-infra-security
# Regexes matched against the package name start. An upgrade of these makes needrestart/systemd restart every
# service at once, containerd included: the dead FUSE mounts hung systemd-resolved on antius, netbird lost DNS
# and the node went NotReady (2026-11-14). Upgrade them by hand with a reboot.
package_blacklist:
- libc6
- libc-bin
- systemd
# Recipient of the report mail; unset sends none, as no host has an outgoing mail setup.
mail:
mail_report: only-on-error
@@ -19,6 +19,14 @@ Unattended-Upgrade::Allowed-Origins {
};
{% endif %}
{% if unattended_upgrades.package_blacklist %}
Unattended-Upgrade::Package-Blacklist {
{% for pkg in unattended_upgrades.package_blacklist %}
"{{ pkg }}";
{% endfor %}
};
{% endif %}
// No automatic reboot, the owner schedules those.
Unattended-Upgrade::Automatic-Reboot "false";
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";