Note: This web site is only kept up to date for OSG Software 1.2 (VDT 2.0.0). If you are looking for information for the most recent release, the RPM-based OSG Software 3.0, please see the OSG documentation web site

Globus patches in the VDT

We patch Globus when we build it for the VDT.

Building Globus 5.0.2

To build Globus 5.0.2, we check it out using the globus_5_0_2 tag then we apply the patches that follow. If you like, you can look at the source code after it has been patched.

You can download a tarball with the complete set of patches here.

Please note: We know that these patches apply cleanly, but we have not yet fully tested Globus with these patches.

Patches for Globus 5.0.2

Name Description Commentary Diff Ticket
011__gss_assist_gridmap Add "gridmapdir" functions allow a pool of pre-created anonymous accounts to be mapped to real users (DNs) at run-time, without further intervention by a sysadmin. The functionality is disabled and does not affect any installations unless the environment variable GRIDMAPDIR points to a directory that has been initialized with the anonymous accounts (/etc/grid-security/gridmapdir). Needed by LCG CE, not used by OSG. diff N/A
089__teragrid-pbs-fixes.diff Improvements to the PBS job manager made by TeraGrid. Needed by TeraGrid, probably not by OSG diff
097__osg_grid_globus_location.diff In an OSG installation, set a job's GLOBUS_LOCATION based on the OSG_GRID environment variable. This will not affect a non-OSG installation. Needed by OSG (along with another patch not done as part of build process). Globus should have extension to allow us to extend the environment in a way that doesn't require a path. diff
117__job_status.diff Three bug fixes:
  • Don't remove the Condor user log when reporting the job as FAILED but instead remove it when the job is being cleaned up. Otherwise, subsequent polls will report the job as DONE. This results in the client being told the job completed when it was in fact removed. Also, return a failure code instead of just a FAILED status. This tells the client why the status is FAILED.
  • When the perl poll function signals a status of FAILED, it usually returns a failure code explaining why the job has FAILED. The Condor grid monitor doesn't report this failure code. When the jobmanager receives a FAILED status from the grid monitor, have it run the poll function itself to get the failure code.
  • On restart, the jobmanager may ignore the latest job status from the grid monitor, instead using the job status written in the gram state file. It does this because it's miscalculating when the job status in the gram state file was obtained.
Needed? Should be reviewed by Globus and accepted to removed diff
208__gratia.diff Modifications to allow the OSG Gratia accounting system to collect information about jobs submitted via Globus. Needed by OSG. Globus should be extended so that we can collect accounting information in a way that does not require a patch. diff
209__gridftp_advisory.diff Early release of a GridFTP server patch from Mike Link to fix performance markers in the GridFTP server so that you can restart file transfers reliably from where they left off. Advisory, already in Globus diff
210__gram_advisory.diff Early release of a GRAM patch from Joe Bester. Made with
cvs -d
     :pserver:anonymous@cvs.globus.org:/home/globdev/CVS/globus-packages rdiff -u \ 
     -r globus_5_0_2 \ 
     -r globus_gram_job_manager_10_63 \ 
     gram/jobmanager/source
Advisory, already in Globus diff GRAM-183 GRAM-184 GRAM-185 GRAM-186
211__fix_seg_wrapper.diff Fixes an apparent bug in the globus-job-manager-event-generator Perl script that launches the Scheduler Event Generator (SEG). Although the script appears to accept a --path command-line argument (undocumented) to set the path of the scheduler log directory, the option was simply a binary toggle. The patch makes the option accept a string value. Patch contributed by the VDT. Should be in Globus. Don't know state. diff