Update service wrapper for remote agents - not using environment variables

XMLWordPrintable

    • 25
    • Severity 3 - Minor
    • 14

      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.

              Assignee:
              Alexey Chystoprudov
              Reporter:
              Kevin Ross
              Votes:
              77 Vote for this issue
              Watchers:
              62 Start watching this issue

                Created:
                Updated:
                Resolved: