Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1449

There is logical inconsistency for RANGER_PID_DIR_PATH in security admin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • admin
    • Patch

    Description

      1. There is RANGER_PID_DIR_PATH parameter in install.properties. But There is hard code at the begin of setup.sh
      pidFolderName='/var/run/ranger'
      mkdir -p ${pidFolderName}
      if [ ! $? = "0" ];then
      log "Make $pidFolderName failure....!!";
      exit 1;
      fi
      2. The ranger-admin-services.sh will set default value and create default path when the RANGER_PID_DIR_PATH parameter is empty. The setup.sh doesn't set default value and create default path.

      Attachments

        Activity

          People

            peng.jianhua peng.jianhua
            peng.jianhua peng.jianhua
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: