| Summary: | kmod rpm does not directly provide /sbin/modprobe | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Mickey Malone <mmalone2> |
| Component: | kmod | Assignee: | David Shea <dshea> |
| Status: | CLOSED NOTABUG | QA Contact: | Kernel General QE <kernel-general-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-29 13:38:16 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Mickey Malone
2016-04-29 12:27:41 UTC
So it looks like the root '/' has bin, lib, and lib64 symlinked to the respective 'usr' dirs. That is misleading... when an rpm specifically says that it provides /sbin/modprobe, but it is really providing /usr/sbin/modprobe. One of the changes in Fedora that was included in RHEL 7 is that directories that had versions in both / and /usr (bin, sbin, lib, lib64) have been merged. https://fedoraproject.org/wiki/Features/UsrMove /usr/sbin is now the actual directory, and is where kmod installs its files, and /sbin is a symlink to /usr/sbin. Files are generally not listed in the Provides metadata for an rpm. Rpm instead resolves path requirements based on the file lists. The Provides: /sbin/modprobe is added for compatibility with older packages. Packages that depend on modprobe that were created before the usr merge may have used Requires: /sbin/modprobe, which is no longer part of the file list provided by the kmod package, and by explicitly adding /sbin/modprobe to the package metadata these requirements can continue to be used. |