Bug 5554 - GRAM2 4.0.5 setup-globus-job-manager-fork.pl silent failure
: GRAM2 4.0.5 setup-globus-job-manager-fork.pl silent failure
gt2 Gatekeeper/Jobmanager
: unspecified
: Macintosh All
: P3 normal
: ---
Assigned To:
  Show dependency treegraph
Reported: 2007-09-12 17:14 by
Modified: 2011-12-19 09:42 (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2007-09-12 17:14:30
setup/globus/setup-globus-job-manager-fork.pl line 26 can silently fail:
mkdir $ENV{GLOBUS_LOCATION} . "/lib/perl/Globus/GRAM/JobManager", 0777;
Appears that if the parent directory doesn't exist, the Perl mkdir
function returns success ($?=0) with a failure message in $!.
Currently the script doesn't even check that mkdir worked.
Unix mkdir gives a valid return code and is used elsewhere in GT setup scripts.
------- Comment #1 From 2007-09-12 19:24:57 -------
BTW, the reason the parent directory was missing was that we were missing a
dependency on another gpt package.  Had the mkdir failed loudly it would have
been easier to
find that problem.
------- Comment #2 From 2011-12-19 09:42:52 -------
The setup package is removed in 5.2.0, so this should be no longer an issue.