unattended_upgrades: blacklist libc6, libc-bin and systemd, their upgrade restarts every service at once
This commit is contained in:
@@ -11,6 +11,13 @@ unattended_upgrades:
|
|||||||
- ${distro_id}:${distro_codename}-security
|
- ${distro_id}:${distro_codename}-security
|
||||||
- ${distro_id}ESMApps:${distro_codename}-apps-security
|
- ${distro_id}ESMApps:${distro_codename}-apps-security
|
||||||
- ${distro_id}ESM:${distro_codename}-infra-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.
|
# Recipient of the report mail; unset sends none, as no host has an outgoing mail setup.
|
||||||
mail:
|
mail:
|
||||||
mail_report: only-on-error
|
mail_report: only-on-error
|
||||||
|
|||||||
@@ -19,6 +19,14 @@ Unattended-Upgrade::Allowed-Origins {
|
|||||||
};
|
};
|
||||||
{% endif %}
|
{% 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.
|
// No automatic reboot, the owner schedules those.
|
||||||
Unattended-Upgrade::Automatic-Reboot "false";
|
Unattended-Upgrade::Automatic-Reboot "false";
|
||||||
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
|
Unattended-Upgrade::Remove-Unused-Kernel-Packages "true";
|
||||||
|
|||||||
Reference in New Issue
Block a user