Bugzilla – Bug 5554
GRAM2 4.0.5 setup-globus-job-manager-fork.pl silent failure
Last modified: 2011-12-19 09:42:52
You need to log in before you can comment on or make changes to this bug.
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.
BTW, the reason the parent directory was missing was that we were missing a gram-fork-setup dependency on another gpt package. Had the mkdir failed loudly it would have been easier to find that problem.
The setup package is removed in 5.2.0, so this should be no longer an issue.