Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-3831

Exit code is not properly returned when using RUN_AS_USER

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 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.

        Attachments

        1. activemq-initd.patch
          2 kB
          Carlos Sanchez Gonzalez

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: