| Summary: | generated rpm fails postinstall searching for common.postinst in the wrong place | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Olivier LAHAYE <olivier.lahaye1> |
| Component: | dkms | Assignee: | Simone Caronni <negativo17> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | mario_limonciello, negativo17, tcallawa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | dkms-2.2.0.3-17.fc18 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-08-29 17:41:27 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
Olivier LAHAYE
2013-08-29 12:46:08 UTC
Hello, this should be fixed with dkms-2.2.0.3-14.el6 that is in EPEL stable repository since the end of July. It was already reported in another bug. Can you please try again with the update? Changelog here: http://koji.fedoraproject.org/koji/buildinfo?buildID=436634 Not fixed.
File common.postinst still located in /usr/lib/dkms/common.postinst which is correct, but file /etc/dkms/template-dkms-mkrpm.spec (line 55) still points to /usr/lib64/dkms/common.postinst
I think that replacing %{_libdir}/dkms with %{_dkmsdir} in template-dkms-mkrpm.spec line 55 should fix the problem.
Confirmed, the fix seems to be only the change you mentioned. Tested here on a local CentOS VM. Can you please test this? I will issue an update immediately after: http://koji.fedoraproject.org/koji/taskinfo?taskID=5869542 Thanks for the fix. Well sort of, as _dkmsdir expands to /var/lib/dkms; I missed the define at the top of the spec file template. Please test this and not the one in the previous comment: http://koji.fedoraproject.org/koji/taskinfo?taskID=5869683 You are right, my proposal was wrong :) Tested, it works fine! Now the generated noarch dksm package finds its postinstall script and installs flawlessly. Thanks for the ultra fast fix :-) (and sorry for my bad proposal). No worries, thanks for debugging it! Pushing an update now, please leave Karma so it goes faster into the stable distribution. dkms-2.2.0.3-17.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/dkms-2.2.0.3-17.fc19 dkms-2.2.0.3-17.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/dkms-2.2.0.3-17.fc18 dkms-2.2.0.3-17.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/dkms-2.2.0.3-17.el6 dkms-2.2.0.3-17.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/dkms-2.2.0.3-17.el5 dkms-2.2.0.3-17.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. dkms-2.2.0.3-17.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. dkms-2.2.0.3-17.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. dkms-2.2.0.3-17.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |