Bug 1803415 - DKMS runs on reboot instead of as hook
Summary: DKMS runs on reboot instead of as hook
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: dkms
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-16 02:26 UTC by Glenn Morris
Modified: 2020-08-05 02:01 UTC (History)
1 user (show)

Fixed In Version: dkms-2.8.2-1.fc31 dkms-2.8.2-1.fc32 dkms-2.8.3-2.el8 dkms-2.8.3-2.el7
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-12 00:52:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Glenn Morris 2020-02-16 02:26:00 UTC
Description of problem:
Thanks for making dkms available for epel8. It seems to have the same problem as
in https://bugzilla.redhat.com/show_bug.cgi?id=1709940, in that modules are not being rebuilt when a new kernel is installed, but only at the next reboot. This can result in quite slow reboots (eg for openafs).

Version-Release number of selected component (if applicable):
dkms-2.7.1-2.el8.noarch

How reproducible: Always

Steps to Reproduce:
1. dnf install dkms
2. install something that uses dkms, eg the nvidia driver, or openafs
3. install a new kernel

Actual results:
Module for new kernel is not built at install time, but only on reboot.

Expected results:
Module for new kernel is built right away through /etc/kernel/postinst.d/dkms

Additional info:
grubby in rhel8 does not include /sbin/new-kernel-pkg, so /etc/kernel/postinst.d/dkms isn't run. Instead, there is /usr/lib/kernel/install.d/

See https://bugzilla.redhat.com/show_bug.cgi?id=1709940 for more info.

In Fedora this was fixed in grubby, through the addition of a /lib/kernel/install.d/95-kernel-hooks.install
script that runs the /etc/kernel/postinst.d/ scripts

Comment 1 Glenn Morris 2020-02-16 16:56:40 UTC
Looks like there is a (slightly different) upstream dkms patch for this at
https://github.com/dell/dkms/pull/118

Comment 2 Glenn Morris 2020-03-06 21:56:58 UTC
Seems to be fixed in dkms-2.8.1-4.20200214git5ca628c.el8.noarch, which now includes a /usr/lib/kernel/install.d/40-dkms.install

Comment 3 Fedora Update System 2020-07-03 07:56:34 UTC
FEDORA-2020-11149b8db4 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-11149b8db4

Comment 4 Fedora Update System 2020-07-03 07:56:38 UTC
FEDORA-EPEL-2020-86a69a0d33 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

Comment 5 Fedora Update System 2020-07-03 07:56:42 UTC
FEDORA-EPEL-2020-2a4c2c399e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

Comment 6 Fedora Update System 2020-07-03 07:56:45 UTC
FEDORA-2020-bc1ecad001 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bc1ecad001

Comment 7 Fedora Update System 2020-07-04 01:05:32 UTC
FEDORA-2020-bc1ecad001 has been pushed to the Fedora 31 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bc1ecad001`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bc1ecad001

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-07-04 01:06:17 UTC
FEDORA-2020-11149b8db4 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-11149b8db4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-11149b8db4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-07-04 01:30:47 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2020-07-04 01:41:46 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2020-07-12 00:52:24 UTC
FEDORA-2020-bc1ecad001 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2020-07-12 01:00:24 UTC
FEDORA-2020-11149b8db4 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2020-07-13 00:27:32 UTC
FEDORA-2020-bc1ecad001 has been pushed to the Fedora 31 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2020-07-15 19:40:14 UTC
FEDORA-EPEL-2020-2a4c2c399e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

Comment 15 Fedora Update System 2020-07-15 19:40:44 UTC
FEDORA-EPEL-2020-86a69a0d33 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

Comment 16 Fedora Update System 2020-07-16 01:45:48 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 17 Fedora Update System 2020-07-16 01:51:49 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 18 Fedora Update System 2020-07-20 07:31:21 UTC
FEDORA-EPEL-2020-2a4c2c399e has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

Comment 19 Fedora Update System 2020-07-20 07:32:02 UTC
FEDORA-EPEL-2020-86a69a0d33 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

Comment 20 Fedora Update System 2020-07-21 00:42:07 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-86a69a0d33

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2020-07-21 01:45:02 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-2a4c2c399e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 Fedora Update System 2020-08-05 01:37:00 UTC
FEDORA-EPEL-2020-2a4c2c399e has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 23 Fedora Update System 2020-08-05 02:01:09 UTC
FEDORA-EPEL-2020-86a69a0d33 has been pushed to the Fedora EPEL 7 stable repository.
If problem still persists, please make note of it in this bug report.


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