[packaging] [Bug 398] New: kolab-cyrus-imapd start script fails on Debian Squeeze (second problem)

noreply at kolabsys.com noreply at kolabsys.com
Mon Sep 12 09:40:12 CEST 2011


           Summary: kolab-cyrus-imapd start script fails on Debian Squeeze
                    (second problem)
           Product: Kolab
           Version: 2.3.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: packaging - apt - debian
        AssignedTo: wickert at kolabsys.com
        ReportedBy: kolab at os-t.de
         QAContact: packaging-bugs at lists.kolabsys.com
       Ticket Type: ---

The kolab-cyrus-imapd defines a variable on line 67
prg=$(which true)

Subsequently the variable is exported on line 69 using 
export $prg

This creates an error:

line 69: export: `/bin/true': not a valid identifier

Removing the dollar sign in the export line fixes this problem.

Unfortunately then a new problem surfaces. Running bash -x
/etc/init/cyrus-imapd start gives:

++ /bin/true /var/spool/imap
++ return 0
+ '[' -ne 0 ']'
/etc/init.d/cyrus-imapd: line 75: [: -ne: unary operator expected
+ unset prg

Configure bugmail: https://bugzilla.kolabsys.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the packaging-bugs mailing list