[torquedev] [Bug 60] Linux code to read /proc/self/exe breaks mom auto-update if directory symlinks are involved
bugzilla-daemon at supercluster.org
bugzilla-daemon at supercluster.org
Thu Nov 18 22:44:05 MST 2010
http://www.clusterresources.com/bugzilla/show_bug.cgi?id=60
Garrick Staples <garrick at usc.edu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |garrick at usc.edu
--- Comment #2 from Garrick Staples <garrick at usc.edu> 2010-11-18 22:44:05 MST ---
(In reply to comment #1)
> why keep the old behavior at all? why not just check argv[0] all the time?
Because argv[0] might not be in PATH.
To avoid another option in torque, just have your script do:
V=$(readlink /blah/default)
/blah/$V/bin/pbs_mom
--
Configure bugmail: http://www.clusterresources.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the torquedev
mailing list