ActiveMQ
  1. ActiveMQ
  2. AMQ-3831

Exit code is not properly returned when using RUN_AS_USER

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.0
    • Fix Version/s: 5.7.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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

      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.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Carlos Sanchez
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development