You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Timothy Bish (JIRA)" <ji...@apache.org> on 2012/05/09 22:07:47 UTC

[jira] [Resolved] (AMQ-3831) Exit code is not properly returned when using RUN_AS_USER

     [ https://issues.apache.org/jira/browse/AMQ-3831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish resolved AMQ-3831.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 5.7.0

Patch applied, thanks.
                
> Exit code is not properly returned when using RUN_AS_USER
> ---------------------------------------------------------
>
>                 Key: AMQ-3831
>                 URL: https://issues.apache.org/jira/browse/AMQ-3831
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.6.0
>            Reporter: Carlos Sanchez
>             Fix For: 5.7.0
>
>         Attachments: activemq-initd.patch
>
>
> There was an issue in the init.d scripts generated by the maven appassembler plugin that is in ActiveMQ too
> http://jira.codehaus.org/browse/MAPPASM-113
> {quote}
> When using RUN_AS_USER (set to a different user than the current one) su is called to call the script again. The return code of the called script is later ignored and 0 is always returned.
> For example, status should return non zero when service is not running, but it returns zero anyway.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira