Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-16205

Update service wrapper for remote agents - not using environment variables

    XMLWordPrintable

    Details

      Description

      http://blog.swisstech.net/2012/12/environments-in-tanuki-softwares-java.html?m=1

      tanukisoftwaresupport December 26, 2012 at 3:22 AM
      Hi,

      What version of the Java Service Wrapper are you using?
      This bug should have already been fixed since version 3.3.0.

      Best Regards,
      Tanuki Software Support Team

      Reply

      tanukisoftwaresupport December 26, 2012 at 3:33 AM
      Sorry, I forgot to mention it in my first post. To fix the issue yourself with the 3.2.* version of the script, please open the checkUser() function and change the following line:
      su -m $RUN_AS_USER -c "\"$REALPATH\" $2"
      to:
      su - $RUN_AS_USER -c "\"$REALPATH\" $2"

      This appears to have been fixed in the service wrapper for some time, and while the workaround is pretty simple, it took hours for me to find it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              achystoprudov Alexey Chystoprudov
              Reporter:
              kevin.ross Kevin Ross
              Votes:
              77 Vote for this issue
              Watchers:
              63 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: