Package: lsb-base
Version: 3.2-11
Severity: important
In /lib/lsb/init-functions, we read:
killproc () {
[...]
sig=$(echo ${2:-} | sed -e 's/^-\(.*\)/\1/')
sig=$(echo $sig | sed -e 's/^SIG\(.*\)/\1/')
if [ -n "$sig" -o "$sig" = 15 -o "$sig" = TERM ]; then
is_term_sig=yes
fi
I think [ -z "$sig" was meant instead of -n "$sig", as the 2
other tests become redundant otherwise.
The above could be changed to:
sig=${2:-}
sig=${sig#-}
sig=${sig#SIG}
case $sig in
("" | 15 | TERM) is_term_sig=yes
esac
(probably among other things) it causes /etc/init.d/nagios3
reload to stop nagios instead of reloading it.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.24.2
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash
Versions of packages lsb-base depends on:
ii ncurses-bin 5.6+20080419-2 Terminal-related programs and man
ii sed 4.1.5-8 The GNU sed stream editor
lsb-base recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]