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

Exit code is not properly returned when using RUN_AS_USER

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.6.0
    • 5.7.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: