OBSOLETE Patch-ID# 113852-02
Keywords: security qstat qhost scheduler execd PE jobs qacct i18n l10n SSL
Synopsis: Obsoleted by: 113852-03 Sun Grid Engine 5.3 Linux: maintenance/security patch
Date: Feb/19/2003

Install Requirements: None                      
Solaris Release: N/A

SunOS Release: N/A

Unbundled Product: Sun Grid Engine

Unbundled Release: 5.3

Xref: 

Topic: 

Relevant Architectures: i386

BugId's fixed with this patch: 4658716 4665780 4670664 4670669 4673738 4675410 4676340 4677087 4682966 4683852 4686157 4692957 4696768 4697491 4699665 4700286 4701640 4706929 4708235 4708239 4712023 4713013 4716824 4718880 4719218 4719755 4721129 4721134 4722060 4723543 4727515 4728293 4731288 4731347 4732031 4733043 4733089 4733859 4735258 4735972 4740335 4740350 4740578 4741230 4742082 4742189 4744523 4745387 4745399 4745404 4746705 4747829 4753668 4753669 4754435 4755931 4756556 4756557 4760981 4769608 4776016 4776754 4776821 4778757 4778758 4778762 4780316 4787598 4787623 4790540 4790547 4790592 4791238 4791908 4792036 4794242 4795475 4802171 4802831 4805423 4807677 4811230 4813188 4815774 4816529 4816541 4818741

Changes incorporated in this version: 4713013 4756556 4756557 4760981 4769608 4776016 4776754 4776821 4778757 4778758 4778762 4780316 4787598 4787623 4790540 4790547 4790592 4791238 4791908 4792036 4794242 4795475 4802171 4802831 4805423 4807677 4811230 4813188 4815774 4816529 4816541 4818741

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: 

<install_dir>/bin/glinux/qacct
<install_dir>/bin/glinux/qalter
<install_dir>/bin/glinux/qconf
<install_dir>/bin/glinux/qdel
<install_dir>/bin/glinux/qhost
<install_dir>/bin/glinux/qmake
<install_dir>/bin/glinux/qmod
<install_dir>/bin/glinux/qmon
<install_dir>/bin/glinux/qsh
<install_dir>/bin/glinux/qstat
<install_dir>/bin/glinux/qsub
<install_dir>/bin/glinux/qtcsh
<install_dir>/bin/glinux/sge_commd
<install_dir>/bin/glinux/sge_coshepherd
<install_dir>/bin/glinux/sge_execd
<install_dir>/bin/glinux/sge_qmaster
<install_dir>/bin/glinux/sge_schedd
<install_dir>/bin/glinux/sge_shadowd
<install_dir>/bin/glinux/sge_shepherd
<install_dir>/bin/glinux/sgecommdcntl
<install_dir>/lib/glinux/libXltree.so
<install_dir>/utilbin/glinux/adminrun
<install_dir>/utilbin/glinux/checkprog
<install_dir>/utilbin/glinux/checkuser
<install_dir>/utilbin/glinux/filestat
<install_dir>/utilbin/glinux/gethostbyaddr
<install_dir>/utilbin/glinux/gethostbyname
<install_dir>/utilbin/glinux/gethostname
<install_dir>/utilbin/glinux/getservbyname
<install_dir>/utilbin/glinux/infotext
<install_dir>/utilbin/glinux/loadcheck
<install_dir>/utilbin/glinux/now
<install_dir>/utilbin/glinux/openssl
<install_dir>/utilbin/glinux/qrsh_starter
<install_dir>/utilbin/glinux/rlogin
<install_dir>/utilbin/glinux/rsh
<install_dir>/utilbin/glinux/rshd
<install_dir>/utilbin/glinux/testsuidroot
<install_dir>/utilbin/glinux/uidgid

Problem Description:

4713013 qacct may display incorrect accounting information
4756556 .cshrc error causes [pro|epi]log,pe-[start|stop] failure
4756557 non-resolvable hosts in host_aliases file cause wrong hostname resolving
4760981 Empty sge_request file causes submission error
4769608 qalter shows wrong priority number when using negative priorities with -p option
4776016 execd does res. consuming process tracking even if no job is to be controlled   
4776754 complex values for user defined complexes are rejected with global host
4776821 qtcsh can't be used as normal tcsh
4778757 stepsize 0 in array job specification results in qmaster exception
4778758 memcpy leak in execd
4778762 Array jobs which contain only one task (id=1) will be handled as single job
4780316 race condition if signals are to be delivered in job's startup phase
4787598 schedd_job_info messages shown by qstat -j even if it is set to false
4787623 failover to shadow master leaves sge_schedd on the original qmaster host
4790540 sge_schedd process consumes more memory than needed if schedd_job_info=true
4790547 Job notification signals won't be delivered if user redefines suspend_method ...
4790592 conflicting policies can cause job being started and immediately suspended
4791238 SGE may create duplicate accounting entries for parallel jobs
4791908 job logging file exists but is empty in certain configurations
4792036 job arguments larger than 10k crash qmaster
4794242 wrong usage reported by qstat -j <jobid>   
4795475 qstat -f output broken for pe jobs on same queue
4802171 qacct -l selection broken
4802831 cannot set -C to null string as described in man qsub
4805423 STRING complex attribute handling with RELOP "!=" is broken
4807677 qrsh crash when command line arguments are longer than 4K  
4811230 qconf -Muser and qconf -Auser report no success messages 
4813188 qstat -r shows wrong dependencies
4815774 Uninitialized pointer cause segmentation fault in qsh/qrsh on submit only hosts
4816529 qmon crash when pressing Why for a list of selected jobs
4816541 no newline character at end of sge_aliases file may crash qsub
4818741 startup failure of qrsh job is reported as regular job exit
 
(from 113852-01)
4755931 possible file access problems on 64-bit file system with 32-bit binaries
4754435 OpenSSL 0.9.6c security vulnerability
4753669 qconf gets commd timeout
4753668 prevent deletion of still referenced objects
4747829 accounting record about qrsh termination incomplete
4746705 Typo in the message
4745404 qmake does an incorrect resource request if ARCH is an empty string
4745399 qmake without any information about parallel execution fails
4745387 qsh, qrsh and qlogin silently ignore options -ac, -dc, -sc and -w
4744523 no error message for interactive job start failure due to wrong DISPLAY settings
4742189 schedd_job_info = true causes immense daemons memory growth in large systems
4742082 Calculation failure in Functional policy
4741230 qmod help output is incomplete
4740578 load formula of the scheduler
4740350 problems with destin_id_list syntax
4740335 qmon dies with changes in Edit Tickets on Solaris64.
4735972 scheduler crashes if all subnodes of a node have 0 shares in sharetree
4735258 CLI: Wrong info for usage
4733859 Userset "defaultdepartment" accepts users in CLI
4733089 qmon dies after checking 'transfer' in 'queue control' window
4733043 qmon dumps core when mouse over an interactive job in Job Control window
4732031 OK without hostname in host_configuration kill sge_qmaster
4731347 can configure fshare/otickets in acls of type DEPT
4731288 qmon cluster config dialog does not show gid_range in SGE product mode
4728293 qmon gets shutdown with a word "global" in Cluster Configuration
4727515 maxujobs prevents dispatching even if job limit is not reached
4723543 Too small panes and cells to display some item names
4722060 CLI: invalid option "-jid jid" for qconf in qconf -help
4721134 qmon gets shutdown with the message "Segmentation Fault" in terminal
4721129 A misoperation in host configuration on qmon leads to qmaster daemon's death
4719755 wrong port output in qstat error message when qmaster not reachable
4719218 "Job Submission" GUI: blank text in pop out window
4718880 qsub/qalter -l <shortcut_name>... might select wrong resource.
4716824 qlogin and qrsh accept unsupported options
4658716 protocol doing termin. on failure for tightly integr. par. job could be leaner
4712023 global load values can prevent dispatching of jobs
4708239 Allow specification of arguments to [rsh|rlogin|qlogin]_[daemon|command]
4708235 SGE should allow to start qrsh jobs when /etc/nologin exits
4706929 qmon does not display job predecessors in job control
4701640 problems launching jobs from qtcsh with "&"
4700286 complex default value not considered for load/suspend thresholds
4699665 qstat resource based job selection broken
4697491 signal notification can prevent delivery of actual suspend/termination signal
4696768 SGE(EE) allows to submit binary job scripts
4692957 non-privileged users can submit jobs with priority higher than 0
4686157 qhost -j is broken
4683852 qalter on running jobs can confuse consumable mgmt
4682966 qsh(1) ignores -S <shell> in sge_request(5) files
4677087 execd could crash when executing tightly integrated parallel jobs
4676340 Memory leak in sge_schedd
4675410 queue suspend threshold alarm nsuspend>1 does not susp. multiple jobs
4673738 allow or disallow "none" load formula
4670669 error message "can't set additional group id for job" for interactive jobs
4670664 parallel jobs (e.g. qmake) fail
4665780 qmaster error message during startup: global configuration doesn't exist - creat

Patch Installation Instructions:
--------------------------------
 
This patch in 'tar.gz' format cannot be installed with 'patchadd' on Solaris
systems. The patch is installed by unpacking the 'tar.gz' file(s) in this
directory in <install_dir>. <install_dir> is usually your <sge_root>
directory. The installation of this patch later is not visible with the
"showrev -p" command on Solaris.
 
This patch later cannot be backed out. You may make a backup copy of the
files which will be overwritten when this patch is installed.
 
Please read "Special Install Instructions" later in this file and carry out
all steps before you unpack the 'tar.gz' file(s) included in this patch.
 
This patch in 'tar.gz' format may not be installed of the original package
has been installed with 'pkgadd' on Solaris. In this case please install the
available patches for Sun Grid Engine from http://sunsolve.sun.com in
'pkgadd' format.
 
The patch is installed by user root by unpacking the file(s) in the
directory where the original package has been installed:
 
   # cd <install_dir>
   # gzip -dc <patchid>/<targzfile> | tar xvpf -
 
After installing the patch you should correct the file permissions if your
Sun Grid Engine installation is installed as an "admin user" system:
 
   # cd <sge_root>
   # util/setfileperm.sh <adminuser> <admingroup> <sge_root>
 
where <adminuser> is the username of the "admin_user" of your global cluster
configuration and <admingroup> is the group which you set during your
initial installation for the files of your Sun Grid Engine distribution.

Special Install Instructions:
-----------------------------
 
   These special installation instructions assume that you are running a
   homogenous Sun Grid Engine cluster where all hosts share the same
   directory for the binaries. If you are running Sun Grid Engine in a
   heterogenous environment (mix of 32-bit and 64-bit binaries for Solaris
   and/or other operating systems) it is only necessary to shutdown the
   daemons for the architecture for which the patch is applied. If you
   installed the binaries on a local partition, you only need to stop the
   SGE daemons for that host on which you are installing the patch.
 
   By default there may by no running jobs when the patch is installed. 
   There may pending batch jobs, but no pending interactive jobs (qrsh,
   qmake, qsh, qtcsh).
 
   It is possible to install the patch with running batch jobs. To avoid a
   failure of the active "sge_shepherd" binary it is necessary to move the
   old shepherd binary (and copy it back prior the installation of the
   patch).
 
   In no case it is supported to install the patch with running interactive
   jobs, 'qmake' jobs or with running parallel jobs which use the tight
   integration support (control_slaves=true in PE configuration is set). 
 
 
   Stopping the Sun Grid Engine cluster to start jobs
   --------------------------------------------------
 
   Disable all queues that no new jobs are started:
 
      # qmod -d '*'
 
   Optional (only needed if there are running jobs which should continue to
   run when the patch is installed):
 
      # cd $SGE_ROOT/bin
      # mv <arch>/sge_shepherd <arch>/sge_shepherd.sge53
 
   It is important that the binary is moved with the "mv" command. It may
   not be copied because this couldcause a crash of an active shepherd
   process of a running job when the patch is installed.
 
 
   Shutting down Sun Grid Engine qmaster and scheduler
   ---------------------------------------------------
 
   You need to shutdown (and restart) the qmaster and scheduler daemon and
   all execution daemons on all SGE hosts.
 
   Shutdown all your execution hosts. Login to all your execution hosts and 
   stop the 'sge_execd' and 'sge_commd':
 
      # /etc/init.d/rcsge stop
 
   Then login to your qmaster machine and stop 'sge_qmaster', 'sge_schedd', 
   'sge_commd' and if the machine is also an execution host 'sge_execd'
 
      # /etc/init.d/rcsge stop
 
   Now verify with the 'ps' command that all Sun Grid Engine daemons on all
   hosts are stopped. If you decided to rename the shepherd binary that
   running patch job continue to run during the patch installation you may
   not kill the 'sge_shepherd' binary.
 
 
   Installing the patch and restarting Sun Grid Engine
   ---------------------------------------------------
 
   Now please install the patch by unpacking the 'tar.gz' files included in
   this patch as outline above.
 
   After installing the patch you need to restart your SGE cluster. Please
   login to your qmaster machine and enter:
 
      # /etc/init.d/rcsge
 
   Now you should repeat this step on all your execution hosts.
 
   After restarting SGE you may again enable your queues:
 
      # qmod -e '*'
 
   If you renamed the shepherd binary you may safely delete the old binary
   when all jobs finished which where running prior the patch installation.

README -- Last modified date:  Wednesday, February 26, 2003

