Bug 1263754 - kmodtool requires /bin/depmod instead of /usr/sbin/depmod
kmodtool requires /bin/depmod instead of /usr/sbin/depmod
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Florian Festi
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-09-16 11:17 EDT by m
Modified: 2016-07-19 13:54 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-19 13:54:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description m 2015-09-16 11:17:12 EDT
Description of problem:

kmodtool generates rpm files that contains:
Requires(post):   /sbin/depmod
Requires(postun): /sbin/depmod

dnf does not know about the /usr/sbin(/depmod) -> /sbin(/depmod) symlink even if the link already exists (see https://bugzilla.redhat.com/show_bug.cgi?id=1257713)

Fix is to have Requires /usr/sbin/depmod.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. build a kmod-xxx
2. dnf install kmod-xxx

Actual results:
Error: nothing provides /sbin/depmod needed by kmod-xxx

Expected results:

Additional info:
Comment 1 Fedora End Of Life 2016-07-19 13:54:41 EDT
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

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