Skip to content

PATH in an OOD app includes /bin, unlike standard Savio session #27

Description

@paciorek

/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions