You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Carlos Sanchez (JIRA)" <ji...@apache.org> on 2012/05/08 14:35:48 UTC
[jira] [Updated] (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 ]
Carlos Sanchez updated AMQ-3831:
--------------------------------
Attachment: activemq-initd.patch
> 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
> 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