karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-2471) Karaf Wrapper doesn't return the correct exit result when using RUN_AS_USER
Date Mon, 30 Sep 2013 12:49:25 GMT

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

Jean-Baptiste Onofré commented on KARAF-2471:
---------------------------------------------

My bad, I fix that.

> Karaf Wrapper doesn't return the correct exit result when using RUN_AS_USER
> ---------------------------------------------------------------------------
>
>                 Key: KARAF-2471
>                 URL: https://issues.apache.org/jira/browse/KARAF-2471
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 2.2.11, 2.3.2, 3.0.0.RC1
>            Reporter: Chris Geer
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 2.2.12, 2.4.0, 3.0.0, 2.3.4
>
>         Attachments: WrapperExitCode-2.2.patch, WrapperExitCode-2.3.patch, WrapperExitCode-3.0.patch
>
>
> When RUN_AS_USER is set the wrapper script will su to that user and then rerun the script.
The issue is the parent script doesn't capture the exit code of the su child process but instead
always returns 0.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message