Scripts use incorrect path "/usr/local/sbin"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
infiniband-diags (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[ SRU Justification ]
Many of the tools in infiniband-diags don't work at all unless one manually sets $IBPATH, which is less than ideal.
[ Test Case ]
dpkg -L infiniband-diags | grep /usr/sbin/ | xargs grep IBPATH=
Pre-fix: "${IBPATH:
Post-fix: "${IBPATH:
[ Regression Potential ]
Nil, there's really only a chance for progression here.
[ Original Report ]
Ubuntu release:
# lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Package version:
# apt-cache policy infiniband-diags
infiniband-diags:
Installed: 1.6.1-1
Candidate: 1.6.1-1
Version table:
*** 1.6.1-1 0
500 http://
100 /var/lib/
Error output:
# ibswitches
/usr/sbin/
# ibhosts
/usr/sbin/ibhosts: line 50: /usr/local/
# ibnodes
/usr/sbin/ibnodes: line 5: /usr/local/
/usr/sbin/ibnodes: line 5: /usr/local/
# ibswitches
/usr/sbin/
Changed in infiniband-diags (Ubuntu): | |
status: | New → Fix Released |
description: | updated |
description: | updated |
Hello Ray, or anyone else affected,
Accepted infiniband-diags into trusty-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ infiniband- diags/1. 6.1-1ubuntu2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!