DescriptionJaroslav Škarvada
2017-04-24 19:26:06 UTC
Description of problem:
modprobe -f doesn't ignore version magic
Version-Release number of selected component (if applicable):
kmod-23-1.fc25.x86_64
How reproducible:
Always
Steps to Reproduce:
1. have running kernel with version magic '4.10.10-200.fc25.x86_64 SMP mod_unload '
2. recompile kernel without explicit KERNELRELEASE to have version magic '4.10.12 SMP mod_unload '
3. setenforce 0 # due to bug 1427896
3. modprobe it913x
4. dmesg | tail -1
5. modprobe -f it913x
Actual results:
modprobe: ERROR: could not insert 'it913x': Exec format error
[39896.356652] it913x: version magic '4.10.12 SMP mod_unload ' should be '4.10.10-200.fc25.x86_64 SMP mod_unload '
modprobe: ERROR: could not insert 'it913x': Exec format error
Expected results:
No error for the 5. (i.e. modprobe -f)
Additional info:
It works OK if recompiled with KERNELRELEASE=4.10.10-200.fc25.x86_64