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

If the root user start the JobScheduler then sometimes the startscript tries to change the user endless.

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.5.4014, 1.6.4014
    • Setup
    • None
    • Unix

    Description

      If the root user starts the JobScheduler with

      ./bin/jobscheduler.sh start

      then the user is changed to the JobScheduler user.

      This mechanism is improved.
      Previously the user was checked via the $USER variable and starts itself possibly

      test "$USER" = "$SCHEDULER_USER" || exec su - $SCHEDULER_USER -c "$0 $*"
      

      Sometimes the $USER environment variable is always empty so that an endless recursive call was possible.

      Now the user change via su is only for one time called.

      Attachments

        Activity

          People

            oh Oliver Haufe
            oh Oliver Haufe
            Oliver Haufe Oliver Haufe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified