Another bug in start script for super server

Bug #71065 reported by Sibylle Koczian
4
Affects Status Importance Assigned to Milestone
firebird2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The Firebird start script for super server, /etc/init.d/firebird2, starts with

#!/bin/sh

but it uses the bash extension "source" in line 28:

[ -e "$DBAPasswordFile" ] && source "$DBAPasswordFile"

That doesn't work in Edgy after the move to dash. "." instead of "source" seems to fix it. The server can be started (with an error message, but it starts), but not stopped.

There is also bug 33235 concerning the same script.

Revision history for this message
Jonh Wendell (wendell) wrote :

This issue happens because /bin/sh is a link to dash. 'source' function exists in bash, so updating your alternatives solves the problem.

Just a 'sudo dpkg-reconfigure dash' and choosing 'No' is enough.

Revision history for this message
Jonh Wendell (wendell) wrote :

I am rejecting this bug because it's not a firebird issue. Feel free to reopen it, if you wish.

BTW, Thanks for your report.

Changed in firebird2:
status: Unconfirmed → Rejected
Revision history for this message
Jonh Wendell (wendell) wrote :

Actually, there is a mistake in firebird init script.
Sorry, just now i am seeing that a motu guy will check this issue.

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

Other bug subscribers

Remote bug watches

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