View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0010199||CentOS-7||util-linux||public||2016-01-20 22:59||2016-01-20 22:59|
|Summary||0010199: hardcoded /usr/local/bin and /usr/local/sbin|
|Description||The /bin/login binary from util-linux-2.23.2-26.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, /sbin/init has /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.|