Debian Bug report logs -
#478871
lsb-base: killproc stops a process if a signal number is provided
Reported by: Stephane Chazelas <stephane@artesyncp.com>
Date: Thu, 1 May 2008 14:51:01 UTC
Severity: important
Found in version lsb/3.2-11
Fixed in version lsb/3.2-12
Done: Chris Lawrence <lawrencc@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Chris Lawrence <lawrencc@debian.org>:
Bug#478871; Package lsb-base.
(full text, mbox, link).
Acknowledgement sent to Stephane Chazelas <stephane@artesyncp.com>:
New Bug report received and forwarded. Copy sent to Chris Lawrence <lawrencc@debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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
Reply sent to Chris Lawrence <lawrencc@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Stephane Chazelas <stephane@artesyncp.com>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #10 received at 478871-close@bugs.debian.org (full text, mbox, reply):
Source: lsb
Source-Version: 3.2-12
We believe that the bug you reported is fixed in the latest version of
lsb, which is due to be installed in the Debian FTP archive:
lsb-base_3.2-12_all.deb
to pool/main/l/lsb/lsb-base_3.2-12_all.deb
lsb-core_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-core_3.2-12_amd64.deb
lsb-cxx_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-cxx_3.2-12_amd64.deb
lsb-desktop_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-desktop_3.2-12_amd64.deb
lsb-graphics_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-graphics_3.2-12_amd64.deb
lsb-languages_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-languages_3.2-12_amd64.deb
lsb-multimedia_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-multimedia_3.2-12_amd64.deb
lsb-printing_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-printing_3.2-12_amd64.deb
lsb-qt4_3.2-12_amd64.deb
to pool/main/l/lsb/lsb-qt4_3.2-12_amd64.deb
lsb-release_3.2-12_all.deb
to pool/main/l/lsb/lsb-release_3.2-12_all.deb
lsb_3.2-12.dsc
to pool/main/l/lsb/lsb_3.2-12.dsc
lsb_3.2-12.tar.gz
to pool/main/l/lsb/lsb_3.2-12.tar.gz
lsb_3.2-12_all.deb
to pool/main/l/lsb/lsb_3.2-12_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 478871@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Chris Lawrence <lawrencc@debian.org> (supplier of updated lsb package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 01 May 2008 10:08:49 -0500
Source: lsb
Binary: lsb-core lsb-graphics lsb-cxx lsb-desktop lsb-qt4 lsb-languages lsb-multimedia lsb-printing lsb lsb-base lsb-release
Architecture: source all amd64
Version: 3.2-12
Distribution: unstable
Urgency: medium
Maintainer: Chris Lawrence <lawrencc@debian.org>
Changed-By: Chris Lawrence <lawrencc@debian.org>
Description:
lsb - Linux Standard Base 3.2 support package
lsb-base - Linux Standard Base 3.2 init script functionality
lsb-core - Linux Standard Base 3.2 core support package
lsb-cxx - Linux Standard Base 3.2 C++ support package
lsb-desktop - Linux Standard Base 3.2 Desktop support package
lsb-graphics - Linux Standard Base 3.2 graphics support package
lsb-languages - Linux Standard Base 3.2 Runtime Languages package
lsb-multimedia - Linux Standard Base 3.2 Multimedia package
lsb-printing - Linux Standard Base 3.2 Printing package
lsb-qt4 - Linux Standard Base 3.2 Qt4 support package
lsb-release - Linux Standard Base version reporting utility
Closes: 478871
Changes:
lsb (3.2-12) unstable; urgency=medium
.
* Fix reversed test in killproc(). (Closes: #478871)
Checksums-Sha1:
f9c91164717f779796981d0187073f1f7017bfb0 958 lsb_3.2-12.dsc
1e3f6368fa242bc6f6bdd237b0509fe2df48712d 49551 lsb_3.2-12.tar.gz
807ea4ffe7b57a881a422f70ed934516c08c4ad8 12670 lsb_3.2-12_all.deb
5620546755185e733808ab4d121428b2aedc7b02 18154 lsb-base_3.2-12_all.deb
0f3650382b6d83418b2da715c10f86ed2b0164ae 18154 lsb-release_3.2-12_all.deb
d65067fc22e4aefeade898ea2a73bfce2bb6e0f9 35394 lsb-core_3.2-12_amd64.deb
c5abe6a1ee72aade14f2c4e215aeba5211ebb89a 12716 lsb-graphics_3.2-12_amd64.deb
2c2b134620aa686e52c96011586b68f61eb94677 12678 lsb-cxx_3.2-12_amd64.deb
2b60c8a14c8673dba0bcb0ad40a932c6f5c38ea4 12810 lsb-desktop_3.2-12_amd64.deb
20103eef280ed2bc75a9606bd50f6c2e274af2ec 12746 lsb-qt4_3.2-12_amd64.deb
62231146788ebe7b3ae4bfd4337ee79a3bab3adb 12708 lsb-languages_3.2-12_amd64.deb
a9b30482bf4b66397da29f2753c56b9b83a9b58d 12684 lsb-multimedia_3.2-12_amd64.deb
2a9626b4e4464e123125024115bc1b64beeddf2a 12710 lsb-printing_3.2-12_amd64.deb
Checksums-Sha256:
35e7314a737478857c4fd053a2a13b635eb9c5e77fc3d584a7087972fd37b064 958 lsb_3.2-12.dsc
4428c5c739f1e544e19e3cd87fa6e5841cfc29d351e7ebd1ca0a1415df32d775 49551 lsb_3.2-12.tar.gz
0c9bd6b821c92fb2b666312454a4501c05fdd6c3592e15e89e5cc85d10e0fecc 12670 lsb_3.2-12_all.deb
2fdbfe43c4fec1dff0864e406ae852ac6cec2a16fb1b4651f1ea78ab45b0cdda 18154 lsb-base_3.2-12_all.deb
c7648a125edc55d31330835a2129a8fded51121943793c33ea16d846db072688 18154 lsb-release_3.2-12_all.deb
7ae43d91578451752434641dbfffabe93bfdf3677a101de3d5eca3ce4d1957c3 35394 lsb-core_3.2-12_amd64.deb
3b14bc2c98252c35949e88695887a8ca0f3d2e576fe80d0cca8f60e7550f3ac0 12716 lsb-graphics_3.2-12_amd64.deb
f3cfc2146785ad0b369da14d4c913900268c4670562d2847f608b598bb24ae40 12678 lsb-cxx_3.2-12_amd64.deb
b6aaa9870ab53bcf40f638b86d461b7d2e266c061ad0e8ea0fffd9adb6fd120c 12810 lsb-desktop_3.2-12_amd64.deb
06b6ae5b26f3c60f9ef7a27a864bbba05cb809a73ab48452d49fc34edffb1cef 12746 lsb-qt4_3.2-12_amd64.deb
249e49f687e346b72dc6d6a70c362e8c0ddedd1a21d1d54c1aed1a5e83521ec2 12708 lsb-languages_3.2-12_amd64.deb
aec3be1d0652e218abcecfa0adb32a33de4cb7ee111ef76a8a640b3716f676d9 12684 lsb-multimedia_3.2-12_amd64.deb
52203885286c555957fcb57f5e49d564474b6a4fe295a23b22bb925895911c3b 12710 lsb-printing_3.2-12_amd64.deb
Files:
208ff54119e018ad05f0b270bce3dc93 958 misc extra lsb_3.2-12.dsc
7148568ad428902b6fd5c77da3ee57af 49551 misc extra lsb_3.2-12.tar.gz
1730d5cb527afc3c21bc99aee80e0d94 12670 misc extra lsb_3.2-12_all.deb
7450b45efa219033799ccd14f87c469d 18154 misc required lsb-base_3.2-12_all.deb
ba2e7d6179a51f2216cd5624c155e9fb 18154 misc extra lsb-release_3.2-12_all.deb
f66d4b852b98f950fe9232320c4fefcb 35394 misc extra lsb-core_3.2-12_amd64.deb
f5c71ade3433a5f33ecdcf87ba8cad2f 12716 misc extra lsb-graphics_3.2-12_amd64.deb
b7882e064b23cc08adb160f8a2ed070c 12678 misc extra lsb-cxx_3.2-12_amd64.deb
098389e8714d441645839d0b16b3b06b 12810 misc extra lsb-desktop_3.2-12_amd64.deb
56a83611aaa687b84324b723f8450743 12746 misc extra lsb-qt4_3.2-12_amd64.deb
22017b16985c5fabbd991a453fedbc35 12708 misc extra lsb-languages_3.2-12_amd64.deb
c0976ba766897791fc4c48d3c39366f6 12684 misc extra lsb-multimedia_3.2-12_amd64.deb
6b89b853101478390428b63f6e3dc442 12710 misc extra lsb-printing_3.2-12_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIGd1P2wQKE6PXubwRAnSYAKCzPI5CvHB1U3xsBHqyGXyLQxHVzQCg1JcX
To/+ZFAb43dM8Y+GE0mR1PE=
=HjZ4
-----END PGP SIGNATURE-----
Blocking bugs of 482312 added: 478871
Request was from Marc Haber <mh+debian-packages@zugschlus.de>
to control@bugs.debian.org.
(Wed, 21 May 2008 22:15:08 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 10 Jul 2008 07:42:09 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 21:57:01 2018;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.