Description of problem: From Fedora 30, installing or updating a kernel doesn't triggers the akmodsposttrans shell script located in /etc/kernel/postinst.d/ directory. This due to the removal of the /usr/sbin/new-kernel-pkg from grubby package in Fedora 30 to switch to new Boot Loader Specification (BLS). This file is provided in grubby-deprecated package if needed. The result is that modules are build, packaged and installed at boot time, making this phase more longer. Version-Release number of selected component (if applicable): akmods-0.5.6-19.fc30.noarch.rpm How reproducible: With Fedora 30 switched to BLS, install or update one kernel, verify that akmods builds no modules (less /var/cache/akmods/akmods.log). Reboot and check akmods logs again. Actual results: Boot time is slowed by akmods. Expected results: Akmods builds modules after kernel install or update. Additional info:
Created attachment 1567642 [details] Fix akmodsposttrans after kernel update/install on f30 Hello, Here is a proposed patch to fix this issue, discussed on rpmfusion users list (topic akmodsposttrans ?? of may 2019). Reviewing this patch is what it was wanted by opening this bug report. I didn't wanted to apply it before proven packagers review. Feel free to make any comment about this. Cordially, -- NVieville
Created attachment 1567650 [details] Fix akmodsposttrans after kernel update/install on f30
LGTM , using the rule which "worse will not stay", I think it should be applied . Thanks,
This patch looks good. It's just that %{_prefix}/lib/kernel/install.d exists in both fedora 28 and current EL7, so it would be nice to have there. (although that can be adapted at a later step, let's get this fix sooner than later).
Created attachment 1568980 [details] Fix akmodsposttrans after kernel update/install on Fedora >= 28 and RHEL >= 7 - rhbz#1709055 Hello, Here is a new proposition for a patch that takes care of the previous comments (Fedora 28 end RHEL 7). Cordially, -- NVieville
Applied , I'm going build in all branches epel7 and F28+
akmods-0.5.6-20.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-05faeaf24b
akmods-0.5.6-20.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8ba034dce5
akmods-0.5.6-20.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8ba034dce5
akmods-0.5.6-20.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-05faeaf24b
akmods-0.5.6-20.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
akmods-0.5.6-20.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
I think that instead of akmod taking care of this, the kernel hook scripts in /etc/kernel/ should be executed even if the configuration is using BLS snippets. Take a look to Bug #1696202.
FEDORA-EPEL-2019-3eceb6f9bf has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-3eceb6f9bf
akmods-0.5.6-22.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-3eceb6f9bf
FEDORA-EPEL-2019-6a710036e9 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-6a710036e9
akmods-0.5.6-23.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-6a710036e9
akmods-0.5.6-23.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.