DescriptionSiddhesh Poyarekar
2014-09-05 18:20:08 UTC
+++ This bug was initially created as a clone of Bug #1124453 +++
Description of problem:
With RHEL7 merging /bin into /usr/bin and turning it into a symlink, but "getconf PATH" is still returning the "/bin" component:
======
$ getconf PATH
/bin:/usr/bin
======
And of course the library POSIX call confstr(_CS_PATH,...) is also returning the erroneous "/bin:/usr/bin" string.
It should now just be "/usr/bin".
--- Additional comment from Carlos O'Donell on 2014-07-29 10:44:04 EDT ---
We can fix this in Fedora and RHEL. It won't go upstream and it will be a distro specific customization for distributions that have acceted "Move To /usr".
Technically this is a hard-coded define in:
sysdeps/unix/confstr.h:#define CS_PATH "/bin:/usr/bin"
Easy enough to adjust, and that should fix getconf and confstr. QE should verify.