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

Update service wrapper for remote agents - not using environment variables

XMLWordPrintable

      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.

              achystoprudov Alexey Chystoprudov
              d247d2f3cbdc Kevin Ross
              Votes:
              77 Vote for this issue
              Watchers:
              62 Start watching this issue

                Created:
                Updated:
                Resolved: