Package: dirmngr
Version: 0.9.1-1
Severity: normal
Tags: patch
My shell is /bin/tcsh. Upon installing dirmngr (as a result of upgrading
kdepim which now depends on kleopatra which depends on, among other things,
dirmngr), dirmngr failed to start, generating the error:
/etc/init.d/dirmngr: line 1: setenv: command not found
The "line 1" is a red herring. This is actually an "eval" within the
d_start() function.
The dirmngr executable will, by default, output a shell command in whatever
shell is currently set when using --daemon. In my case, that's /bin/tcsh.
This should not normally be a problem when the system boots, but is a
problem when starting or stopping the service manually by someone who does
not use (ba)sh as their shell.
The following patch, adding the "-s" option when starting dirmngr, resolves
the problem:
--- dirmngr.orig 2005-04-17 14:45:02.490681025 -0700
+++ dirmngr 2005-04-17 14:45:28.997944570 -0700
@@ -17,7 +17,7 @@
d_start() {
- eval "$(start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE
--exec $DAEMON -- --daemon)"
+ eval "$(start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE
--exec $DAEMON -- -s --daemon)"
pid=$(echo "$DIRMNGR_INFO" | cut -d : -f 2)
echo "$pid" >$PIDFILE
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.5-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Versions of packages dirmngr depends on:
ii adduser 3.63 Add and remove users and groups
ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an
ii libgcrypt11 1.2.0-4 LGPL Crypto library - runtime libr
ii libgpg-error0 1.0-1 library for common error values an
ii libksba8 0.9.9-2 X.509 and CMS support library
ii libldap2 2.1.30-3 OpenLDAP libraries
ii libpth2 2.0.1-2 The GNU Portable Threads
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]