Another bug in start script for super server
Bug #71065 reported by
Sibylle Koczian
This bug report is a duplicate of:
Bug #59633: [Edgy] Init script will not execute due to an error 'source: not found' .
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firebird2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The Firebird start script for super server, /etc/init.
#!/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.
To post a comment you must log in.
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.