Package: imapproxy
Version: 1.2.4-9
Severity: serious
Justification: Policy 10.4


Ny server does not use bash as default sh interpreter.

The latest update of imapproxy caused the following error:

/etc/init.d/imapproxy: 46: Syntax error: "(" unexpected
invoke-rc.d: initscript imapproxy, action "start" failed.


I believe the function is not declared in a POSIX-compliant way.

The following patch fixes the error on my system:

--- imapproxy.orig      2007-03-15 11:26:38.000000000 +0100
+++ imapproxy   2007-03-19 18:26:22.000000000 +0100
@@ -43,7 +43,7 @@
        exit 0;
 fi
 
-function check_running ()
+check_running()
 {
  proc_cmdline="/proc/`cat $PIDFILE`/cmdline"
 



 - Jonas



-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-11-powerpc
Locale: LANG=da_DK.UTF-8, LC_CTYPE=da_DK.UTF-8 (charmap=UTF-8)


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

Reply via email to