Package: imapproxy
Version: 1.2.4-10
Severity: serious

This happened during an upgrade just now:

Starting IMAP proxy: /etc/init.d/imapproxy: line 56: [: too many arguments
Failed to start imapproxy. Check logs for details.
invoke-rc.d: initscript imapproxy, action "start" failed.

The problem is this code:

        psline="`ps ax | grep imapproxyd | grep -v grep`"
        if [ -n $psline ]; then

because psline will contain multiple shell words.

After adding quotes, the start action of the script still fails (exist
status 1) if the service is already running, which is a violation of
required init script behavior.


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

Reply via email to