Ticket #1571: inst_common.sh-8.1.9.diff

File inst_common.sh-8.1.9.diff, 3.0 KB (added by vuw_ecs_kevin, 3 years ago)

Patch to util/inst_common.sh

  • sge/util/install_modules/inst_common.sh

    old new  
    379379             sge_execd sge_qmaster  \
    380380             sge_shadowd \
    381381             sge_shepherd qacct qalter qconf qdel qhold \
    382              qhost qlogin qmake qmod qmon qresub qrls qrsh qselect qsh \
     382             qhost qlogin qmod qresub qrls qrsh qselect qsh \
    383383             qstat qsub qtcsh qping qquota sgepasswd"
    384384
     385   WARNBINFILES="qmake qmon"
     386
    385387   WINBINFILES="sge_coshepherd sge_execd sge_shepherd  \
    386388                qacct qalter qconf qdel qhold qhost qlogin \
    387389                qmake qmod qresub qrls qrsh qselect qsh \
     
    414416      fi
    415417   done
    416418
     419   for f in $WARNBINFILES; do
     420      if [ ! -f $SGE_BIN/$f ]; then
     421         $INFOTEXT "missing program >%s< in directory >%s<" $f $SGE_BIN
     422         $INFOTEXT "install will continue but some functionality may be missing"
     423         $INFOTEXT -log "missing program >%s< in directory >%s<" $f $SGE_BIN
     424         $INFOTEXT -log "install will continue but some functionality may be missing"
     425      fi
     426   done
     427
    417428   for f in $UTILFILES; do
    418429      if [ ! -f $SGE_UTILBIN/$f ]; then
    419430         missing=true
     
    770781CheckConfigFile()
    771782{
    772783   CONFIG_FILE=$1
    773    KNOWN_CONFIG_FILE_ENTRIES_INSTALL="SGE_ROOT SGE_QMASTER_PORT SGE_EXECD_PORT CELL_NAME ADMIN_USER QMASTER_SPOOL_DIR EXECD_SPOOL_DIR GID_RANGE SPOOLING_METHOD DB_SPOOLING_DIR PAR_EXECD_INST_COUNT ADMIN_HOST_LIST SUBMIT_HOST_LIST EXEC_HOST_LIST EXECD_SPOOL_DIR_LOCAL HOSTNAME_RESOLVING SHELL_NAME COPY_COMMAND DEFAULT_DOMAIN ADMIN_MAIL ADD_TO_RC SET_FILE_PERMS RESCHEDULE_JOBS SCHEDD_CONF SHADOW_HOST EXEC_HOST_LIST_RM REMOVE_RC WINDOWS_SUPPORT WIN_ADMIN_NAME WIN_DOMAIN_ACCESS CSP_RECREATE CSP_COPY_CERTS CSP_COUNTRY_CODE CSP_STATE CSP_LOCATION CSP_ORGA CSP_ORGA_UNIT CSP_MAIL_ADDRESS SGE_ENABLE_SMF SGE_CLUSTER_NAME SGE_ENABLE_JMX SGE_JMX_PORT SGE_JVM_LIB_PATH SGE_ADDITIONAL_JVM_ARGS SGE_JMX_SSL SGE_JMX_SSL_CLIENT SGE_JMX_SSL_KEYSTORE SGE_JMX_SSL_KEYSTORE_PW"
     784   KNOWN_CONFIG_FILE_ENTRIES_INSTALL="SGE_ROOT SGE_QMASTER_PORT SGE_EXECD_PORT CELL_NAME ADMIN_USER QMASTER_SPOOL_DIR EXECD_SPOOL_DIR GID_RANGE SPOOLING_METHOD DB_SPOOLING_DIR PAR_EXECD_INST_COUNT ADMIN_HOST_LIST SUBMIT_HOST_LIST EXEC_HOST_LIST EXECD_SPOOL_DIR_LOCAL HOSTNAME_RESOLVING SHELL_NAME COPY_COMMAND DEFAULT_DOMAIN ADMIN_MAIL ADD_TO_RC SET_FILE_PERMS RESCHEDULE_JOBS SCHEDD_CONF SHADOW_HOST EXEC_HOST_LIST_RM REMOVE_RC WINDOWS_SUPPORT WIN_ADMIN_NAME WIN_DOMAIN_ACCESS CSP_RECREATE CSP_COPY_CERTS CSP_COUNTRY_CODE CSP_STATE CSP_LOCATION CSP_ORGA CSP_ORGA_UNIT CSP_MAIL_ADDRESS SGE_ENABLE_SMF SGE_CLUSTER_NAME SGE_ENABLE_JMX SGE_JMX_PORT SGE_JVM_LIB_PATH SGE_ADDITIONAL_JVM_ARGS SGE_JMX_SSL SGE_JMX_SSL_CLIENT SGE_JMX_SSL_KEYSTORE SGE_JMX_SSL_KEYSTORE_PW QMASTER_HOSTNAME"
    774785   KNOWN_CONFIG_FILE_ENTRIES_BACKUP="SGE_ROOT SGE_CELL BACKUP_DIR TAR BACKUP_FILE"
    775786   MAX_GID=2147483647 #unsigned int = 32bit - 1
    776787   MIN_GID=100        #from 0 - 100 may be reserved GIDs