[Edgy] Init script will not execute due to an error 'source: not found'

Bug #59633 reported by Burhan Khalid
12
Affects Status Importance Assigned to Milestone
firebird2 (Ubuntu)
Fix Released
Medium
Lionel Porcheron

Bug Description

Binary package hint: firebird2-super-server

On Edgy, when you install Firebird2 and try to run it, you'll get the following error:

/etc/init.d/firebird2: 28: source: not found

I believe the cause for this is because the init script is using sh and not bash. To fix this error, I changed the 'shebang' line from

#!/bin/sh

to

#!/bin/bash -e

and this solved the problem.

Revision history for this message
Steve Kowalik (stevenk) wrote :

The error is that source is a "bashism" - something that works in bash and not other POSIX-compliant shells. I will prepare an upload and close this bug when it has hit the archive.

Jonh Wendell (wendell)
Changed in firebird2:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in firebird2:
assignee: nobody → lionel.porcheron
Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

I have attaced to bug #33235 a fix for this issue. It will be uploaded soon.

Revision history for this message
Lionel Porcheron (lionel.porcheron) wrote :

This upload fix the issue:
 firebird2 (1.5.3.4870-12ubuntu2) feisty; urgency=low
 .
   * debian/firebird2: create /var/run/firebird2 directory if necessary and set
     proper permissions (Closes LP: #33235)
   * debian/firebird2: correct bashism L28 (Closes LP: #59633)

Changed in firebird2:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.