Package: munin-node Version: 1.4.5-2 Severity: minor Hello, the six snort plugins don't work when /bin/sh is dash, they all contain the following code:
if [ -n $warning ]; then echo 'alerts.warning $warning' fi if [ -n $critical ]; then echo 'alerts.critical $critical' fi It should be rewritten as: if [ -n "$warning" ]; then echo "alerts.warning $warning" fi if [ -n "$critical" ]; then echo "alerts.critical $critical" fi ...the non-zero length string tests always succeed under dash, which results in literally 'alerts.warning $warning' being printed, which confuses munin-update (missing graphs), so quote the [ and echo statements. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages munin-node depends on: ii adduser 3.112 add and remove users and groups ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr ii libnet-server-perl 0.97-1 An extensible, general perl server ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii munin-common 1.4.5-2 network-wide graphing framework (c ii perl 5.10.1-14 Larry Wall's Practical Extraction ii procps 1:3.2.8-9 /proc file system utilities Versions of packages munin-node recommends: ii libnet-snmp-perl 5.2.0-4 Script SNMP connections Versions of packages munin-node suggests: ii acpi 1.5-2 displays information on ACPI devic ii ethtool 1:2.6.34-3 display or change Ethernet device ii hdparm 9.27-2.1 tune hard disk parameters for high ii libcache-cache-perl 1.06-1 Managed caches of persistent infor ii libcrypt-ssleay-perl 0.57-2 Support for https protocol in LWP pn libdbd-mysql-perl <none> (no description available) pn libdbd-pg-perl <none> (no description available) pn liblwp-useragent-determ <none> (no description available) pn libnet-irc-perl <none> (no description available) pn libnet-ssleay-perl <none> (no description available) pn libtext-csv-xs-perl <none> (no description available) ii libwww-perl 5.836-1 Perl HTTP/WWW client/server librar ii libxml-simple-perl 2.18-3 Perl module for reading and writin ii logtail 1.3.12 Print log file lines that have not pn munin <none> (no description available) pn munin-java-plugins <none> (no description available) ii munin-plugins-extra 1.4.5-2 network-wide graphing framework (u pn mysql-client <none> (no description available) ii net-tools 1.60-23 The NET-3 networking toolkit ii python 2.6.5-13 interactive high-level object-orie pn ruby <none> (no description available) ii smartmontools 5.39.1+svn3124-1 control and monitor storage system -- Configuration Files: -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org