[daisy] [JIRA] Created: (DSY-367) init.d start scripts from debian package don't work on ubuntu 6.10 (edgy eft)

Marc Portier (JIRA) issues at cocoondev.org
Sat Oct 28 10:54:47 CDT 2006


init.d start scripts from debian package don't work on ubuntu 6.10 (edgy eft)
-----------------------------------------------------------------------------

         Key: DSY-367
         URL: http://issues.cocoondev.org//browse/DSY-367
     Project: Daisy
        Type: Bug
    Versions: public - 1.2, public - 1.3, public - 1.4, public - 1.5, public - 1.4.1    
 Reporter: Marc Portier
    Priority: Minor


the init.d scripts we ship in the debian package (daisy-repository-server and daisy-wiki)  are using syntax that requires bash (e.g. 'let' command)
however, their shebang-line points to /bin/sh

- http://svn.cocoondev.org/viewsvn/trunk/daisy/distro/debian/resources/daisy-repository-server?rev=3402&view=markup
- http://svn.cocoondev.org/viewsvn/trunk/daisy/distro/debian/resources/daisy-wiki?rev=3402&view=markup

on systems where /bin/sh is not linked to /bin/bash the startup scripts will not work.

One example of this is Ubuntu Edgy Eft (which symlinks to dash rather then bash)
- https://launchpad.net/distros/ubuntu/+ticket/1932
- https://launchpad.net/distros/ubuntu/+spec/dash-as-bin-sh

(side-effect: this means that people upgrading from dapper to eft will find those scripts not working any more)


Suggested fix: 
- since we use bash specific syntax I suggest we just update the shebang to require bash rather then the sh (and assume it is the same)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list