-
Problem report
-
Resolution: Fixed
-
Major
-
None
-
5.0.14, 5.4.3, 6.0.0alpha1
-
Ubuntu
-
Sprint 79 (Aug 2021)
Online repos for Ubuntu should include the "Suite: " tag to allow the ubuntu unattended-upgrades to automatically rollout new versions of the zabbix_agents when available.
For example:
bash ~$ less /var/lib/apt/lists/mirror.server.name_zabbix-ubuntu_dists_bionic_InRelease -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Origin: Zabbix Label: somelabel Suite: bionic Version: someversion Codename: bionic Date: Fri, 07 May 2021 17:44:30 UTC Architectures: amd64 Components: main
The configuration for unattended-upgrades then will read something like this:
Unattended-Upgrade::Allowed-Origins {
"${distro_id}:${distro_codename}";
"${distro_id}:${distro_codename}-updates";
"${distro_id}:${distro_codename}-backports";
"${distro_id}:${distro_codename}-security";
"Zabbix:${distro_codename}";
};
Here is a reference: https://linux-audit.com/upgrading-external-packages-with-unattended-upgrade/
Please note that the other format available is not supported on some Ubuntu releases:
Unattended-Upgrade::Allowed-Origins {
"o=Zabbix,n=${distro_codename}";
};
Producing the error:
ValueError: not enough values to unpack (expected 2, got 1)