Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-980

JobScheduler has own environment variable to find the libraries in ./lib

    XMLWordPrintable

Details

    • Feature
    • Status: Known Issue (View Workflow)
    • Minor
    • Resolution: Works as designed
    • None
    • None
    • Job Scheduler Binaries
    • None

    Description

      Current Situation

      • JobScheduler is started with a modified LD_LIBRARY_PATH environment variable that points to the ./lib directory to ensure that the libraries ./lib/libgcc_s.so.1 and ./lib/libstdc++.so.6.0.x are available.
      • With the LD_LIBRARY_PATH environment variable being prefixed with the ./lib directory conflicts might arise with programs that are executed by shell jobs and that would inherit that environment variable and therefore might use an unwanted version of the system libraries.

      Workaround

      • Programs executed by shell jobs should not rely on the LD_LIBRARY_PATH environment variable that is provided by JobScheduler but should set this variable to point to the respective location where the system libraries are expected.

      Maintainer Notes

      • Technically it is feasible to add a mechanism that would restore the original value of the LD_LIBRARY_PATH environment variable for shell jobs.
      • As most shell jobs would use the above workaround to guarantee the correct location of the desired system libraries, there is no immediate need to modify this behavior.
      • Vote for this issue and let us know your feedback if you wanted a respective resolution to be added to a future release.

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              oh Oliver Haufe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: