/bin is being included in PATH before many standard bin directories, such as /usr/bin when in OOD sessions. I don't think we want this as it can change the user experience. In particular, trying to run srun hostname fails when within an OOD session, because hostname resolves to /bin/hostname rather than the usual /usr/bin/hostname.
@wfeinstein @tin6150 do either of you have any idea where /bin is coming from.
Here's PATH in OOD:
[paciorek@n0002 ~]$ echo $PATH
/global/software/sl-7.x86_64/modules/langs/python/3.7/bin:/global/software/sl-7.x86_64/modules/langs/python/3.7/condabin:/global/software/sl-7.x86_64/modules/tools/sq/0.1.0/bin:/global/software/sl-7.x86_64/modules/tools/emacs/25.1/bin:/global/software/sl-7.x86_64/modules/tools/vim/7.4/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/global/home/groups/allhands/bin:/global/home/users/paciorek/bin:/global/home/groups/allhands/bin:/global/home/users/paciorek/bin
/binis being included in PATH before many standard bin directories, such as/usr/binwhen in OOD sessions. I don't think we want this as it can change the user experience. In particular, trying to runsrun hostnamefails when within an OOD session, becausehostnameresolves to/bin/hostnamerather than the usual/usr/bin/hostname.@wfeinstein @tin6150 do either of you have any idea where
/binis coming from.Here's
PATHin OOD: