New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DKMS: Disable weak modules #11335
DKMS: Disable weak modules #11335
Conversation
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com>
|
We maybe should precise that this option need to be added either at the end of :
or create a conf file in /etc/dkms/ :
and append the option in it. |
|
The pull request I just submitted should take care of it. If it goes though, the end user shouldn't need to edit any files in future releases of zfs. Hopefully this problem will be gone for good. 🙂 |
Yep, my bad, I had a look into it after commenting... ;) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. Particularly for most distributions like Fedora where there is no stable kabi to depend on. We could consider adding a ZFS_DKMS_NO_WEAK_MODULES option to etc/default/zfs.in to allow the previous behavior to be restored. As was done for ZFS_DKMS_ENABLE_DEBUG. However, personally I don't think that's really needed.
|
I didn't test it, but based on the dkms man page, the end user should be able to override this setting by adding |
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Closes #9891 Closes #11128 Closes #11242 Closes #11335
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Closes openzfs#9891 Closes openzfs#11128 Closes openzfs#11242 Closes openzfs#11335
Fedora does not guarantee a stable kABI, so weak modules should be dis- abled. See the dkms man page for a more detailed explanation of the weak module feature. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Gregory Bartholomew <gregory.lee.bartholomew@gmail.com> Closes openzfs#9891 Closes openzfs#11128 Closes openzfs#11242 Closes openzfs#11335
Fedora does not guarantee a stable kABI, so weak modules should be dis-
abled. See the dkms man page for a more detailed explanation of the weak
module feature.
Signed-off-by: Gregory Bartholomew gregory.lee.bartholomew@gmail.com
Motivation and Context
Closes issues #11242, #11128 and #9891 (and perhaps #11320?)
Description
This pull request sets the DKMS option NO_WEAK_MODULES to "yes".
How Has This Been Tested?
The details of how this issue was tested are described in issue #11242 (special thanks to @gogi983 for doing the testing)
Types of changes
Checklist:
Signed-off-by.