Package: mpt-status
Version: 1.1.6-8
Severity: serious
Justification: Policy 6.2


On installation, mpt-status fails because of the handling of d_stop and
d_start in the /etc/init.d/mpt-statusd.  Because RUN_DAEMON is set to "yes"
by default, 'daemon' is used to start it, but the pid of the script (not
daemon) is put into PIDFILE.  However, when d_stop is called, it acts on
the pid in PIDFILE, which doesn't respond to the normal signal handling
for some reason, and the script exits with error, and then mpt-status is
left in an unconfigured state.  'apt-get -f install' will not fix it.

A workaround is to set 'RUN_DAEMON=no' in /etc/init.d/mpt-statusd, and then
run 'apt-get -f install' (however, this exposes another bug where you reference
"mpt-statusd is disabled in /etc/default/mpt-statusd" but
/etc/default/mpt-statusd does not exist).

This affects more than just the installation of the package though, as you
can't use '/etc/init.d/mpt-statusd' to stop and restart the process without
errors, because of the way the '/etc/init.d/mpt-statusd check_mpt' is dealing
with signals.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mpt-status depends on:
ii  daemon                       0.6.3-1     turns other processes into daemons
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  lsb-base                     3.1-22      Linux Standard Base 3.1 init scrip

mpt-status recommends no packages.

-- no debconf information

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-3-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


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

Reply via email to