Bug 1538359 - glibc rpm installs ldconfig and sln to /sbin
Summary: glibc rpm installs ldconfig and sln to /sbin
Keywords:
Status: CLOSED DUPLICATE of bug 1063607
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 27
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Carlos O'Donell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-24 22:05 UTC by Van de Bugger
Modified: 2018-01-24 22:21 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-01-24 22:21:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Van de Bugger 2018-01-24 22:05:22 UTC
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.

Comment 1 Carlos O'Donell 2018-01-24 22:21:31 UTC

*** This bug has been marked as a duplicate of bug 1063607 ***


Note You need to log in before you can comment on or make changes to this bug.