View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0010198||CentOS-7||systemd||public||2016-01-20 22:57||2016-01-20 22:57|
|Summary||0010198: hardcoded /usr/local/bin and /usr/local/sbin|
|Description||The /sbin/init binary from systemd-219-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, /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.|