Bug 1333201 - With Lmod-6.0.15-2.el6.noarch installed, bash logins error with /usr/bin/ps not found
Summary: With Lmod-6.0.15-2.el6.noarch installed, bash logins error with /usr/bin/ps n...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: Lmod
Version: el6
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-04 23:01 UTC by Ric Anderson
Modified: 2016-05-29 20:47 UTC (History)
1 user (show)

Fixed In Version: Lmod-6.3.4-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-29 20:47:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ric Anderson 2016-05-04 23:01:18 UTC
Description of problem:
errors at login with Lmod-6.0.15-2.el6.noarch
$ ssh login4
Last login: Wed May  4 15:51:06 2016 from ben.uits.arizona.edu
-bash: /usr/bin/ps: No such file or directory
/bin/basename: missing operand
Try `/bin/basename --help' for more information.

Version-Release number of selected component (if applicable):
6.0.15-2

How reproducible:
100%

Steps to Reproduce:
1. yum install Lmod
2. login after that
3. serr errors

Actual results:
-bash: /usr/bin/ps: No such file or directory
/bin/basename: missing operand
Try `/bin/basename --help' for more information.

Expected results:
no errors

Additional info:
If you run
  sed -i -e 's@/usr/bin/ps@/bin/ps@' /usr/share/lmod/6.0.15/init/profile 
after the yum install, then the problem appears to be fixed.  Possibly the path is a leftover from upstream?
Tested on Red Hat Enterprise Linux Server release 6.7 (Santiago)
and CentOS release 6.7 (Final)
with identical results

Comment 1 Fedora Update System 2016-05-05 02:31:23 UTC
Lmod-6.3.1-3.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-81e9d1896a

Comment 2 Fedora Update System 2016-05-12 22:58:53 UTC
Lmod-6.3.4-1.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-60ef85e569

Comment 3 Fedora Update System 2016-05-15 06:22:17 UTC
Lmod-6.3.4-1.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-60ef85e569

Comment 4 Fedora Update System 2016-05-29 20:47:21 UTC
Lmod-6.3.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.


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