Package: bitlbee
Version: 3.0.3-1
Severity: normal
I upgraded from 3.0.1, and had 2 separate bitlbee processes running.
The init script failed to stop the old, and started a new.
This happens because of the way start-stop-daemon is used.
start-stop-daemon --start --quiet --pidfile $PIDFILE \
--exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS
-x, --exec executable
Check for processes that are instances of this
executable (according to /proc/pid/exe).
Since your prerm does not stop bitlbee on upgrade, by the time the
postinst tries to restart it, the executable has been replaced, and
start-stop-daemon cannot stop it.
To fix, you should instead of using --exec ,
use --pidfile /var/run/bitlbee.pid
(I have the default BITLBEE_UPGRADE_DONT_RESTART=0 setting)
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages bitlbee depends on:
ii bitlbee-common 3.0.3-1 An IRC to other chat networks gate
ii debianutils 4.0.2 Miscellaneous utilities specific t
ii libc6 2.13-16 Embedded GNU C Library: Shared lib
ii libevent-1.4-2 1.4.13-stable-1 An asynchronous event notification
ii libgcrypt11 1.4.6-9 LGPL Crypto library - runtime libr
ii libglib2.0-0 2.28.6-1 The GLib library of C routines
ii libgnutls26 2.12.7-6 GNU TLS library - runtime library
bitlbee recommends no packages.
bitlbee suggests no packages.
-- debconf information excluded
--
see shy jo
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]