I have a problem with the initscript of dirmngr:
isar:~# invoke-rc.d dirmngr stop
Stopping DirMngr: dirmngr/usr/sbin/invoke-rc.d: line 446: 11294 Terminated "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
invoke-rc.d: initscript dirmngr, action "stop" failed.
isar:~# /etc/init.d/dirmngr status
DirMngr is not running. failed!
The initscript does stop the daemon, but it also kills itself:
isar:~# /etc/init.d/dirmngr start
Starting DirMngr: dirmngr.
isar:~# /etc/init.d/dirmngr status
DirMngr is running..
isar:~# /etc/init.d/dirmngr stop
Stopping DirMngr: dirmngrTerminated
isar:~# echo $?
143
This seems to be an issue with the "killproc" function, similar to bug
#494268 of the "at" package. It can be avoided by specifying the pidfile
when killproc is called; see the attached patch. (I simply copied how
the initscript of exim4 invokes killproc.)
Thank you for your time.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-flo (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dirmngr depends on:
ii adduser 3.110 add and remove users and groups
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libgcrypt11 1.4.1-1 LGPL Crypto library - runtime libr
ii libgpg-error0 1.4-2 library for common error values an
ii libksba8 1.0.3-1 X.509 and CMS support library
ii libldap-2.4-2 2.4.10-3 OpenLDAP libraries
ii libpth20 2.0.7-10 The GNU Portable Threads
ii lsb-base 3.2-19 Linux Standard Base 3.2 init scrip
dirmngr recommends no packages.
dirmngr suggests no packages.
-- no debconf information
From: Anacron <ro...@faramir.fjphome.nl>
Date: 10/08/08 13:01
/etc/cron.daily/logrotate:
/usr/sbin/invoke-rc.d: line 437: 5370
Terminated "${INITDPREFIX}${INITSCRIPTID}" "${saction}" "$@"
error: error running postrotate script for /var/log/dirmngr.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
From: Anacron <ro...@faramir.fjphome.nl>
Date: 17/08/08 18:42
/etc/cron.daily/logrotate:
/etc/init.d/dirmngr: line 51: 8874 Terminated $0 stop
error: error running postrotate script for /var/log/dirmngr.log
run-parts: /etc/cron.daily/logrotate exited with return code 1
I guess the reason the error shows up now is that some support script
changed its behavior, but this really should be fixed before Lenny.
Cheers,
FJP