View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0010200||CentOS-7||bash||public||2016-01-20 23:01||2016-01-20 23:01|
|Summary||0010200: hardcoded /usr/local/bin|
|Description||The /bin/bash binary from bash-4.2.46-19.el7.x86_64 includes:|
It's very common for /usr/local to be NFS-mounted. This can be a problem when the NFS server is unreachable -- logins as root to fix the problem then hang. Sometimes the problem is actually a host problem, such as a misconfigured network interface. So it's common for root accounts to avoid dependencies on /usr/local.
Unfortunately, /bin/bashhas /usr/local hardcoded in PATH elements. This can be a problem even for console logins when the NFS server is unreachable.
Other packages have the same issue. They will be reported separately.
|Steps To Reproduce||1. make /usr/local be NFS-mounted form somewhere.|
2. Login as root, not on console. Stay logged in here.
3. Break access to the NFS server, e.g. by putting in a firewall rule that blocks access to the NFS server.
4. Try to login as root on the console. No joy.
5. Undo the problem using the old root login session.
|Tags||No tags attached.|