Package: dirmngr Version: 0.9.2-1 Severity: normal Hi, init script can start multiple instances of dirmngr.
# pgrep dirmngr # for i in $(seq 1 10); do /etc/init.d/dirmngr start >/dev/null; sleep1; done # pgrep dirmngr 6578 6608 6637 6669 6698 # cat /var/run/dirmngr.pid # There is a bug in the way how init script manages /var/run/dirmngr.pid file. With the first execution, it adds PID number to /var/run/dirmngr.pid. With the second execution, start-stop-daemon recognizes that dirmngr is already running and exists silently. But the init script does echo "$pid" >$PIDFILE $pid is empty, so it only erase pid file. And with the third execution, start-stop-daemon starts another instance of dirmngr (because pid file is empty). There should be something like [ -n "$pid" ] && { echo "$pid" >$PIDFILE || return 1; } instead of echo "$pid" >$PIDFILE Martin Kourim -- System Information: Debian Release: testing/unstable APT prefers testing-proposed-updates APT policy: (990, 'testing-proposed-updates'), (990, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.13-ck2-1-k7 Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) Versions of packages dirmngr depends on: ii adduser 3.67 Add and remove users and groups ii libc6 2.3.5-6 GNU C Library: Shared libraries an ii libgcrypt11 1.2.1-4 LGPL Crypto library - runtime libr ii libgpg-error0 1.1-4 library for common error values an ii libksba8 0.9.11-1 X.509 and CMS support library ii libldap2 2.1.30-11 OpenLDAP libraries ii libpth2 2.0.1-2.1 The GNU Portable Threads ii lsb-base 3.0-5 Linux Standard Base 3.0 init scrip dirmngr recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]