[Pkg-nagios-devel] Bug#535970: bashism(?) in initscript
Thorsten Glaser
tg at mirbsd.de
Mon Jul 6 13:12:31 UTC 2009
Package: nagios3-common
Version: 3.0.6-4~lenny2
Severity: normal
Tags: patch
Found in http://ftp.de.debian.org/debian/pool/main/n/nagios3/nagios3_3.0.6-5.diff.gz
as well.
The init script contains this line:
│stop () {
If the space is removed after the “stop” word, it will work with
mksh as /bin/sh. (Some shells define an alias by the name of
“stop”, which may conflict with a function unless immediately
followed by the parenthesēs to initiate a function definition.)
-- System Information:
Debian Release: 5.0.2
APT prefers proposed-updates
APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-xen-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages nagios3-common depends on:
ii adduser 3.110 add and remove users and groups
ii apache2-utils 2.2.9-10+lenny3 utility programs for webservers
ii bsd-mailx [mailx] 8.1.2-0.20071201cvs-3 A simple mail user agent
ii coreutils 6.10-6 The GNU core utilities
ii debconf [debconf-2 1.5.24 Debian configuration management sy
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii mailx 1:20071201-3 Transitional package for mailx ren
ii nagios-plugins-bas 1.4.12-5 Plugins for the nagios network mon
ii nagios3-doc 3.0.6-4~lenny2 documentation for nagios3
ii ucf 3.0016 Update Configuration File: preserv
Versions of packages nagios3-common recommends:
ii apache2 2.2.9-10+lenny3 Apache HTTP Server metapackage
ii apache2-mpm-worker [http 2.2.9-10+lenny3 Apache HTTP Server - high speed th
ii nagios-images 0.4 Collection of images and icons for
ii nagios-plugins 1.4.12-5 Plugins for the nagios network mon
nagios3-common suggests no packages.
-- debconf information excluded
More information about the Pkg-nagios-devel
mailing list