[ 
https://issues.apache.org/jira/browse/QPID-7863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16128878#comment-16128878
 ] 

Ofer Bezalel commented on QPID-7863:
------------------------------------

For the sake of anyone else trying to figure this one out... I have a work 
around, add to travis a generation of a simple qpid `upstart` script to 
override the issue with the `init.d`, and "move" the package from the `apt` 
`packages` to the `before_script` as below


{code:java}
before_script:
  - sudo sh -c 'printf "start on (started networking and filesystem)\nstop on 
runlevel [!2345]\n\nexpect fork\npre-start script\n\tmkdir -p 
/var/lib/qpidd/\nend script\n\nscript\n\texec qpidd -d --config 
/etc/qpid/qpidd.conf\nend script\n" > /etc/init/qpidd.conf'
  - sudo add-apt-repository -y ppa:qpid/released
  - sudo apt-get update -qq
  - sudo apt-get install -y qpidd qpid-tools
{code}



> qpidd-1.36 init script fails with "source: not found" on ubuntu
> ---------------------------------------------------------------
>
>                 Key: QPID-7863
>                 URL: https://issues.apache.org/jira/browse/QPID-7863
>             Project: Qpid
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: qpid-cpp-1.36.0
>         Environment: Travis (Ubuntu Trusty)
>            Reporter: Chris Richardson
>
> While trying to install qpidd on Travis (Ubuntu Trusty) from the qpid/testing 
> ppa I'm getting the error
> /etc/init.d/qpidd: 52: /etc/init.d/qpidd: source: not found
> see https://travis-ci.org/fourceu/fourc-qpid-manager/jobs/254889450 line 660.
> I think this is because the init script is not compatible with Ubuntu (even 
> if the offending line were changed to use "." instead of "source", the 
> requested functions script would not exist).
> Could we please have an updated deb package with an Ubuntu init script? :)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to