[kgb-maintainers] Bug#566004: Init script does not restart the daemon process on 'restart' command

Damyan Ivanov dmn at debian.org
Wed Jan 20 15:32:57 UTC 2010


Package: kgb-bot
Version: 1.01-2
Severity: serious

Justification: breaks Policy §9.3.2

Synopsys:

# ps axu | grep \[k\]gb
111       7603  0.0  0.7  20632 16020 ?        Ss   Jan16   0:20 /usr/bin/perl /usr/sbin/kgb-bot --foreground --config /etc/kgb-bot/kgb.conf
# /etc/init.d/kgb-bot restart
Reloading Collaborative IRC helper: kgb-bot.
# ps axu | grep \[k\]gb
111       7603  0.0  0.7  20632 16032 ?        Ss   Jan16   0:21 /usr/bin/perl /usr/sbin/kgb-bot --foreground --config /etc/kgb-bot/kgb.conf

i.e. the very same process still runs.

Policy §9.3.2 says:

  restart
      stop and restart the service if it's already running, otherwise 
      start the service

The particular problem at hand is that 'restart' action does not cause 
a new instance of the daemon to be executed and the old instance keeps 
using old versions of shared libraries (checked with checkrestart) 
which were upgraded due to security issues.


-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kgb-bot depends on:
ii  adduser                  3.110           add and remove users and groups
ii  kgb-client               1.01-2          client for KGB (IRC collaboration
ii  libdigest-sha1-perl      2.11-2+b1       NIST SHA-1 message digest algorith
ii  libpoe-component-irc-per 5.84+dfsg-1     a fully event-driven IRC client mo
ii  libpoe-component-server- 1.12-1          POE component to publish event han
ii  libpoe-perl              2:1.0003-1      event driven component architectur
ii  libproc-pid-file-perl    1.24-6          Perl module for managing process i
ii  libyaml-perl             0.66-1          YAML Ain't Markup Language (tm)
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction

kgb-bot recommends no packages.

Versions of packages kgb-bot suggests:
ii  libipc-run-perl              0.80-2      Perl module for running processes
ii  polygen                      1.0.6.ds2-6 generator of random sentences from

-- no debconf information





More information about the kgb-maintainers mailing list