Description of problem:
glibc rpm (either glibc-2.26-24.fc27.i686.rpm or glibc-2.26-24.fc27.x86_64.rpm) installs ldconfig and sln programs to /sbin/ directory. In Fedora 27, /sbin is not a real directory but a symbolic link to usr/sbin directory. It has tricky and confusing consequence:
$ which ldconfig
/usr/sbin/ldconfig
$ rpm -qf /usr/sbin/ldconfig
glibc-2.26-21.fc27.x86_64
$ rpm -q --whatprovides /usr/sbin/ldconfig
glibc-2.26-21.fc27.x86_64
Everything looks ok up to now, BUT:
$ dnf provides /usr/sbin/ldconfig
Last metadata expiration check: 1:40:36 ago on Wed 24 Jan 2018 23:16:51 MSK.
Error: No Matches found
So, a package requiring /usr/sbin/ldconfig could not be installed with dnf.
Version-Release number of selected component (if applicable):
Fedora 27, glibc-2.26-24.fc27.x86_64.rpm.
How reproducible:
Always
Steps to Reproduce:
1. Install Fedora 27
2. $ dnf provides /usr/sbin/ldconfig
Actual results:
Error: No Matches found
Expected results:
Repo : @System
Matched from:
Filename : /usr/sbin/ldconfig
Additional info:
It could be treated as a bug in dnf. But I think since /bin, /sbin, /lib, and /lib64 directories are officially "retired" in Fedora 27, no files should be installed into these directories, all the files should be installed into /usr/bin, /usr/sbin, /usr/lib and /usr/lib64 directories.