View Issue Details

IDProjectCategoryView StatusLast Update
0010199CentOS-7util-linuxpublic2016-01-20 22:59
Reportermorty Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version7.2.1511 
Summary0010199: hardcoded /usr/local/bin and /usr/local/sbin
DescriptionThe /bin/login binary from util-linux-2.23.2-26.el7.x86_64 includes:

/usr/local/bin:/bin:/usr/bin
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

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.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

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