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

Bruno Dumon (JIRA) issues at cocoondev.org
Wed Mar 7 07:04:29 CST 2007


     [ http://issues.cocoondev.org//browse/DSY-367?page=all ]
     
Bruno Dumon resolved DSY-367:
-----------------------------

    Fix Version: public - 2.0
     Resolution: Fixed

Thanks for the patch, I've applied the part that modifies the debian scripts.

The other scripts don't rely on bash AFAIK, and since bash might not always be available (Solaris? other unixes?) I think it's better to leave things as-is.

> 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
>      Fix For: public - 2.0
>  Attachments: bash.diff
>
> 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