Package: munin-plugins-core
Version: 2.0.42-5
Severity: normal
Dear Maintainer,
* What led up to the situation?
Upgrade of the package munin-plugins-core from 2.0.37-2 to 2.0.42-5 (as it
entered testing)
A cronjob is supposed to occasionally update the statefile, so that when
munin calls the plugin, it can return values. After the upgrade, the
cronjob still runs, but it no longer updates the statefile. This is due
to a change in the code of apt_all. In the new version it looks like the
following, starting at line 208:
if (!-e $statefile
|| ((stat($statefile))[10] + $maxinterval < time())
|| (int(rand($probability)) == 0)) {
exec("/usr/bin/apt-get update")
or die("Unable to exec() apt-get");
update_state();
}
The exec() call transfers the execution to the apt-get command, but exec()
never returns, so the call to the function update_state() afterwards never
happens, leading to a stale state-file.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages munin-plugins-core depends on:
ii munin-common 2.0.42-5
ii perl 5.28.0-3
Versions of packages munin-plugins-core recommends:
ii libnet-snmp-perl 6.0.1-4
Versions of packages munin-plugins-core suggests:
pn conntrack <none>
ii libcache-cache-perl 1.08-2
ii libdbd-mysql-perl 4.048-1+b1
ii libhttp-date-perl 6.02-1
ii libnet-dns-perl 1.17-1
ii libnet-ip-perl 1.26-2
pn libnet-ldap-perl <none>
pn libnet-netmask-perl <none>
pn libnet-telnet-perl <none>
ii libxml-parser-perl 2.44-2+b4
ii python3 3.6.7-1
ii ruby 1:2.5.1
-- no debconf information