Package: mbmon
Version: 2.05-5
Severity: important
Tags: patch

When executing
  /etc/init.d/mbmon stop
the script eventually calls
  start-stop-daemon --stop --oknodo --name $NAME --retry 9,
where NAME expands to "mbmon".

This will stop/kill all processes of that name, _including_ the init script.
The exit status of the init script is 143 on my system, but will definitely be
non-zero. This means that external programs calling the init script will think
it failed. One such external program is dpkg/apt when it tries to
upgrade/remove the package, basically locking me into that broken version.

I resolved the issue on my system by changing the above line to:
  start-stop-daemon --stop --oknodo --name $NAME --exec $DAEMON --retry 9

Regards,
-octo

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
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/bash

Versions of packages mbmon depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries

mbmon recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to