Package: munin-plugins-core Version: 2.0.25-1 Severity: normal The jessie version of munin-node/http_loadtime plugin contains the following code:
#!/bin/bash
…
time_bin=`which time`
if [ "$1" = "autoconf" ]; then
result="yes"
command -v $time_bin 2>&1 >/dev/null || result=1
… etc.
This contains a bug: if the time binary is not installed, $time_bin will be
empty, but "command -v" doesn't fail. Hence the plugin mistakenly believes that
the time binary is installed, leading to failures later when it tries to pass
the "--quiet" option to the time builtin command.
The bug is present in sid as well.
Beside fixing the issue here, it would be good if the package suggests the time
command.
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.6-ruru0 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages munin-node depends on:
ii gawk 1:4.1.1+dfsg-1
ii init-system-helpers 1.23
ii libnet-server-perl 2.008-2
ii lsb-base 4.1+Debian14
ii munin-common 2.0.25-2
ii munin-plugins-core 2.0.25-2
ii perl 5.20.2-6
ii procps 2:3.3.10-4
Versions of packages munin-node recommends:
ii libnet-snmp-perl 6.0.1-2
ii munin-plugins-extra 2.0.25-2
Versions of packages munin-node suggests:
ii acpi 1.7-1
ii ethtool 1:3.16-1
ii hdparm 9.43-2
ii libcrypt-ssleay-perl 0.58-1+b2
ii libdbd-pg-perl 3.5.1-1
pn liblwp-useragent-determined-perl <none>
ii libnet-irc-perl 0.79-1
ii libtext-csv-xs-perl 1.19-1
ii libwww-perl 6.13-1
ii libxml-simple-perl 2.20-1
ii lm-sensors 1:3.4.0-1
ii logtail 1.3.17
ii munin 2.0.25-2
pn munin-plugins-java <none>
pn mysql-client <none>
ii net-tools 1.60-26+b1
ii python 2.7.9-1
ii ruby 1:2.1.5.1
ii smartmontools 6.3+svn4002-2+b3
-- Configuration Files:
/etc/munin/munin-node.conf changed [not included]
/etc/munin/plugin-conf.d/munin-node [Errno 13] Permission denied:
u'/etc/munin/plugin-conf.d/munin-node'
-- no debconf information
signature.asc
Description: Digital signature

