View Issue Details

IDProjectCategoryView StatusLast Update
0010198CentOS-7systemdpublic2016-01-20 22:57
Reportermorty Assigned To 
Status newResolutionopen 
Product Version7.2.1511 
Summary0010198: hardcoded /usr/local/bin and /usr/local/sbin
DescriptionThe /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 Reproduce1. 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.
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-01-20 22:57 morty New Issue