unattended_upgrades: needrestart lists services instead of restarting them, replaces the package blacklist

This commit is contained in:
2026-11-14 08:00:30 +00:00
parent 704a5d9389
commit f32e6930f5
4 changed files with 17 additions and 15 deletions
-7
View File
@@ -11,13 +11,6 @@ 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